Re: server side user agent detection

From: Date: Tue, 31 Oct 2000 06:35:17 +0000
Subject: Re: server side user agent detection
Groups: php.general 
Request: Send a blank email to php-general+get-22860@lists.php.net to get a copy of this message
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>

« previous php.general (#22860) next »