Re: How can I discover the browser type (IE or NS)
| From: | Liz Kimber | Date: | Wed, 31 May 2000 13:37:17 +0000 |
| Subject: | Re: How can I discover the browser type (IE or NS) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-710@lists.php.net to get a copy of this message | ||
> If you are working with Apache you can evaluate the $HTTP_USER_AGENT variable.
You should technically be able to use get_browser(), but I havent been able to get it to work as it
often crashes PHP!
As was said you can evaulate the HTTP_USER_AGENT, or, you can use a library like the prometheus
library to do it for you, it can then return like the get_browser() would whether the browser can
handle java and stuff.