Re: Check browser-type?
| From: | Nick Wilson | Date: | Fri, 25 Jan 2002 19:57:04 +0000 |
| Subject: | Re: Check browser-type? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82158@lists.php.net to get a copy of this message | ||
* and then Mårten Andersson blurted....
> Hello.
>
> I need to check wich browser-type and/or OS an visitor have to a page
>
> Is this posible with PHP?
> I have just started with this programing language and its a bit
> difficult to search in PHP.net when I dont know exactly what I am
> looking for.. =)
Check out $HTTP_USER_AGENT
It contains all you need.
There is a good tutorial on this at www.sitepoint,com (you'll have to
search) and all the other good sites have covered it.
eg,
www.phpbuilder.com
www.devshed.com
Have fun.
--
Nick Wilson
Tel: +45 3325 0688
Fax: +45 3325 0677
Web: www.explodingnet.com