Re: server side user agent detection

From: Date: Tue, 31 Oct 2000 07:33:17 +0000
Subject: Re: server side user agent detection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22866@lists.php.net to get a copy of this message
check out : http://www.php.net/manual/function.get-browser.php also, i use a file called 'browser.inc' (oh that narrows it down :) and cannot find its origin. while looking found these : Browser Detector : http://px.sklar.com/code-pretty.html?code_id=396 HTTP_USER_AGENT parse : http://px.sklar.com/code-pretty.html?code_id=130 an sure others exist. but, what is wrong with getbrowser() ? i hear browscap.ini must be updated but so what i will update it them! is this not reliable enough to rely on? please someone explain this great mystery :-) or do many use this function, iirc people do not. regards, philip -- be outside the box. On Mon, 30 Oct 2000, Jan-Eric Duden wrote: > 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 > >

« previous php.general (#22866) next »