Ernest E Vogelsinger <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED] 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php