Re: browser identification problem

From: Date: Tue, 18 Feb 2003 22:04:03 +0000
Subject: Re: browser identification problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136069@lists.php.net to get a copy of this message
Ernest E Vogelsinger <ernest@vogelsinger.at> wrote on 02/17/2003 11:20:41 PM: > At 06:05 18.02.2003, Jason Wong said: > --------------------[snip]-------------------- > >On Tuesday 18 February 2003 01:18, chip.wiegand@simrad.com wrote: > > > >> > then set 'user_agent' in > >> > php.ini to match that of one of the compatible browsers. > >> > >> I don't see any user_agent entry in my php.ini file. I did a search on the > >> php.net site and didn't find any info on this. What would be the proper > >> way > >> to set this in php.ini, and in which section of php.ini? > > > >Anywhere in php.ini I suppose. Or it can be set at run-time using ini_set(). > --------------------[snip]-------------------- > > http://www.php.net/manual/en/ref.filesystem.php#ini.user-agent Thanks for the link. I added the following to my php.ini - user_agent = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 And it prevents any pages from being displayed. I copied that line from the http_user_agent line in php_info. The php doc mentioned above doesn't provide any info on the format of the user_agent line. Obviously I'm doing it wrong. Suggestions? Thanks -- Chip > -- > >O Ernest E. Vogelsinger > (\) ICQ #13394035 > ^ http://www.vogelsinger.at/ > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#136069) next »