Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detecting browsers

Status
Not open for further replies.

chromonium

Programmer
Jun 4, 2002
36
FR
Hi All,

Is it possible to detect the browser (perhaps by the info given by the browser) and redirecting the page depending on which browser the user has?

regards

adam
 
Yes, it is.

The environment variable HTTP_USER_AGENT is set by the server to be whatever the browser sends in the "User-Agent" HTTP header.
 
I'm new to PHP, can you write a working script for it please?

like if msie<=4 go to...
if nn4<= go to ...


Regards

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top