FreePgs.com Forum
September 20, 2021, 04:28:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The "Support Requests" forum is now viewable by guests.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: browscap.ini? Please and thankyou?  (Read 6705 times)
neosquared
Coding until my eyes bleed..
Verified Account
Jr. Member
*

Karma: +1/-0
Offline Offline

Posts: 51

Blog entries (0)

View Profile WWW
« on: May 14, 2006, 03:04:18 AM »

Is there any chance we could get browscap.ini installed so that we can use get_browser()?
This really would make my life easier, and I'm sure there are others that would feel the same way.
Logged

Don't take servers for granted.
Everything is flammable, if you get it hot enough.
Visit my website!  It'll make you cooler!
sixthcrusifix
Sage
Verified Account
Sr. Member
*

Karma: +0/-3
Offline Offline

Posts: 445


http://sixthcrusifix.com/home/

Blog entries (0)

View Profile WWW
« Reply #1 on: May 18, 2006, 01:08:10 AM »

Is there any chance we could get browscap.ini installed so that we can use get_browser()?
This really would make my life easier, and I'm sure there are others that would feel the same way.

can't you just use $_SERVER['HTTP_USER_AGENT']? And then look for the info? There are only 2 or 3 browsers that are worth carign about so you wont have much to look for (Okay, maybe MAYBE 6 browsers but honestly, Anyone who isn't using firefox by  choice, doesn't deserve to look at my site, I spit on them. I have only included IE support for those who are not enlightened yet)
Logged

Visite me website at http://www.sixthcrusifix.com
FreePgs.com Forum
« Reply #1 on: May 18, 2006, 01:08:10 AM »

 Logged
neosquared
Coding until my eyes bleed..
Verified Account
Jr. Member
*

Karma: +1/-0
Offline Offline

Posts: 51

Blog entries (0)

View Profile WWW
« Reply #2 on: May 18, 2006, 02:33:26 AM »

True, I suppose I could - but it starts to get a lot more complicated once you start checking for specific versions of specific browsers on specific operating systems..  And get_browser() makes all of that easy to the point of it being cheating.  Tongue  It would really simplify my code, and make my life that much easier.
Logged

Don't take servers for granted.
Everything is flammable, if you get it hot enough.
Visit my website!  It'll make you cooler!
sixthcrusifix
Sage
Verified Account
Sr. Member
*

Karma: +0/-3
Offline Offline

Posts: 445


http://sixthcrusifix.com/home/

Blog entries (0)

View Profile WWW
« Reply #3 on: May 18, 2006, 09:09:09 AM »

True, I suppose I could - but it starts to get a lot more complicated once you start checking for specific versions of specific browsers on specific operating systems..  And get_browser() makes all of that easy to the point of it being cheating.  Tongue  It would really simplify my code, and make my life that much easier.

well that sounds cool, but why do you need all that information?
Logged

Visite me website at http://www.sixthcrusifix.com
FreePgs.com Forum
« Reply #3 on: May 18, 2006, 09:09:09 AM »

 Logged
neosquared
Coding until my eyes bleed..
Verified Account
Jr. Member
*

Karma: +1/-0
Offline Offline

Posts: 51

Blog entries (0)

View Profile WWW
« Reply #4 on: May 19, 2006, 03:21:45 AM »

Well, there are just some things you can't do with CSS.  Tongue  At the moment I'm using it to make a browser detection script so that some images I have that fade to the background look great in almost everything, and fairly decent in IE.  And if IE 7 supports alpha transparency, I'm gonna have to add in version checking as well.
Although I am aware that there are ways to get IE 6 to do alpha transparency, I'd rather just stick to something short, sweet, and to the point.
Plus I think you can use it for crawler detection as well, at least to some extent..  Could come in handy if you've got an intro page or something to that end that you want to redirect search engine crawlers past.
Logged

Don't take servers for granted.
Everything is flammable, if you get it hot enough.
Visit my website!  It'll make you cooler!
sixthcrusifix
Sage
Verified Account
Sr. Member
*

Karma: +0/-3
Offline Offline

Posts: 445


http://sixthcrusifix.com/home/

Blog entries (0)

View Profile WWW
« Reply #5 on: May 21, 2006, 04:16:22 PM »

Well this is really still something that CAN be done just using HTTP_USER_AGENT. I do the exact same thing except I just did it to give IE users GIFS and FireFox users PNGs. I don't care about IE users not seeing a pretty site because I'm trying to help firefox get ahead of IE and the only way to make people wanna use firefox (teh betetr browser) is not to keep adding full support for both, but to stop addign extra support for IE. It might be a little detramental to your site at first but the end result is worth it.

Anyway I'm 99% sure that we don't need the .ini. Just like the md5 encryption you can probably find the actual scrit somewhere and just stick it on a .php file in your site. But I dunno much about it.
Logged

Visite me website at http://www.sixthcrusifix.com
brainiac744
Verified Account
Sr. Member
*

Karma: +10/-0
Offline Offline

Posts: 403

Blog entries (0)

View Profile
« Reply #6 on: May 21, 2006, 04:57:08 PM »

Why do you care so much that it doesn't get installed sixthcrusifix? If it's installed and you don't want to use it just don't, but don't deny somebody else the ability to use something just because you see no point to it...
Logged
dest
1337 hax0r
Verified Account
Full Member
*

Karma: +0/-0
Offline Offline

Posts: 130


Yar

Blog entries (0)

View Profile
« Reply #7 on: May 21, 2006, 05:56:53 PM »

Well this is really still something that CAN be done just using HTTP_USER_AGENT. I do the exact same thing except I just did it to give IE users GIFS and FireFox users PNGs. I don't care about IE users not seeing a pretty site because I'm trying to help firefox get ahead of IE and the only way to make people wanna use firefox (teh betetr browser) is not to keep adding full support for both, but to stop addign extra support for IE. It might be a little detramental to your site at first but the end result is worth it.

Anyway I'm 99% sure that we don't need the .ini. Just like the md5 encryption you can probably find the actual scrit somewhere and just stick it on a .php file in your site. But I dunno much about it.

Firefox 1.5 seems to get GIFs Tongue
Logged

meh Tongue
garyr_h
Verified Account
Full Member
*

Karma: +0/-0
Offline Offline

Posts: 110

Blog entries (0)

View Profile
« Reply #8 on: May 21, 2006, 11:37:15 PM »

For internet explorer
Logged
sixthcrusifix
Sage
Verified Account
Sr. Member
*

Karma: +0/-3
Offline Offline

Posts: 445


http://sixthcrusifix.com/home/

Blog entries (0)

View Profile WWW
« Reply #9 on: May 22, 2006, 04:30:37 AM »

Well this is really still something that CAN be done just using HTTP_USER_AGENT. I do the exact same thing except I just did it to give IE users GIFS and FireFox users PNGs. I don't care about IE users not seeing a pretty site because I'm trying to help firefox get ahead of IE and the only way to make people wanna use firefox (teh betetr browser) is not to keep adding full support for both, but to stop addign extra support for IE. It might be a little detramental to your site at first but the end result is worth it.

Anyway I'm 99% sure that we don't need the .ini. Just like the md5 encryption you can probably find the actual scrit somewhere and just stick it on a .php file in your site. But I dunno much about it.

Firefox 1.5 seems to get GIFs Tongue

No I know (I'm not quite that retarded...) I'm saying that  gifs are BAD THINGS that look CRAPPY when they have transparency. SO the good Firefox users get PNGs that look pretty and the stupid IE users get to have ugly, choppy GIFs.

Why do you care so much that it doesn't get installed sixthcrusifix? If it's installed and you don't want to use it just don't, but don't deny somebody else the ability to use something just because you see no point to it...

Hey I never said we shouldn't have it I'm just saying he shouldn't put his site development on hold just because we don't. Hell I'd use it in a heart beat it sounds like a great idea. I was just trying to present alternatives until it was installed if it ever does get installed.
« Last Edit: May 22, 2006, 04:34:40 AM by sixthcrusifix » Logged

Visite me website at http://www.sixthcrusifix.com
brainiac744
Verified Account
Sr. Member
*

Karma: +10/-0
Offline Offline

Posts: 403

Blog entries (0)

View Profile
« Reply #10 on: May 22, 2006, 04:27:55 PM »

No I know (I'm not quite that retarded...) I'm saying that  gifs are BAD THINGS that look CRAPPY when they have transparency. SO the good Firefox users get PNGs that look pretty and the stupid IE users get to have ugly, choppy GIFs.

No, no, what he's saying is that people using firefox 1.5 on your site (I assume you mean crystalchasm) are getting gifs, not pngs. I know this to be true also as I visited and got gifs. Maybe I'm just looking in the wrong area though  Undecided
Logged
sixthcrusifix
Sage
Verified Account
Sr. Member
*

Karma: +0/-3
Offline Offline

Posts: 445


http://sixthcrusifix.com/home/

Blog entries (0)

View Profile WWW
« Reply #11 on: May 22, 2006, 11:15:24 PM »

No I know (I'm not quite that retarded...) I'm saying that  gifs are BAD THINGS that look CRAPPY when they have transparency. SO the good Firefox users get PNGs that look pretty and the stupid IE users get to have ugly, choppy GIFs.

No, no, what he's saying is that people using firefox 1.5 on your site (I assume you mean crystalchasm) are getting gifs, not pngs. I know this to be true also as I visited and got gifs. Maybe I'm just looking in the wrong area though  Undecided

Oh yeah everyone's getting gifs at the moment because my site is "down" except whenever my site is under maintenence I keep it technically up just in case I need to test things. I'm currently redesigning ALL of my images from scratch. loll, so yes everyone is getting gifs at the moment but it's only temporary.
Logged

Visite me website at http://www.sixthcrusifix.com
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!