Re: server side user agent detection
| From: | Jan-Eric Duden | Date: | Tue, 31 Oct 2000 15:05:51 +0000 |
| Subject: | Re: server side user agent detection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22946@lists.php.net to get a copy of this message | ||
I tried that...
it is disabled and i cannot change that because of the my isp...
----- Original Message -----
From: "jeremy brand" <jeremy@smackdown.com>
To: "Jan-Eric Duden" <duden@uwyo.edu>; <php-general@lists.php.net>
Sent: Monday, October 30, 2000 11:35 PM
Subject: Re: [PHP] server side user agent detection
> I don't have any regex's off hand. I'd have to go digg'ng through some
code.
>
>
>
> But, you may want to give this a try:
>
> get_browser()
>
>
>
> I've never used it myself, but I probably will the next time I need to do
something like this.
>
>
>
> -jeremy brand
>
>
>
> --- Jan-Eric Duden <duden@uwyo.edu>
>
> > wrote:
>
> ><pre>Hi !
>
> >
>
> >lets change the topic for a while (very interesting this cf vs php stuff
>
> >) :)
>
> >
>
> >I'd like to do server side user agent detection. That is to check the
HTTP_USER_AGENT
>
> >variable, right?
>
> >
>
> >Does anybody have some nice and tested regex that check this string for
>
> >IE 4.0 or NN 4.0 ?
>
> >What about other browsers?
>
> >
>
> >I haven't found any official documentation what each browser puts in this
>
> >string. :(
>
> >
>
> >Thanks,
>
> >Eric
>
> >
>
> ></pre>
>
> ==
> _______________________________________________________________________
>
> GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
>
> _ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for
> more __
>
> _____________________________________________________________
> Get Your Own Private, Free E-mail Now!
>
> your_name@smackdown.com http://www.smackdown.com
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> <spacer>