FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Browser Detection..





Diablosblizz
Hey, I used to have a script that would detect the visitors browser. If it was Internet Explorer, then it would go to a page, and if it was firefox (or other) it would go to a different page.

I remember using:

$_SERVER['HTTP_USER_AGENT']


Any ideas??


Thanks.
MrBlueSky
Use the get_browser() function.
Diablosblizz
Yes, I used that before..

EDIT: Okay got it.. just took what the browser printed and went from there.

Ty.
Related topics
Spying on the spyware makers
Psuedo Frames in IE
I want to be xhtml compliant...
Java Script City
Why this code dont work ?
Maxthon - powerful web browser
Page Height And Width
Browser Version detection and redirection
Old browser compatibility.
Prevention, detection, and cure: 12 free security programs
Firefox and Chrome Versus Explorer 9
Cross Browser Problem
Responsive design
Offering the full site to mobile users
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.