Page 1 of 1

problem in fetching browser info

Posted: Tue Oct 25, 2005 1:01 am
by itsmani1
hi there....

i am having problem in getting browser info can any one help me?
i want to know in which browser my page is currently running.
thanx

Posted: Tue Oct 25, 2005 1:13 am
by Jenk
If you mean which client browser the user is viewing your page with (aka user agent), then you can use the $_SERVER['HTTP_USER_AGENT'] super global, but it isn't 100% reliable.

Posted: Tue Oct 25, 2005 1:14 am
by n00b Saibot
USER AGENT string can help you...