Re: [PHP] netscape user agent name...

2002-10-16 Thread Duncan Hill
On Wed, Oct 16, 2002 at 09:50:06PM +1100, Noodle Snacks wrote: > my question is does Netscape 4.x send "Netscape 4.x" or "mozilla something"? Copy sent offlist, so here's a copy for the list. Google returns: http://www.psychedelix.com/agents.html -- PHP General Mailing List (http://www.php.net

RE: [PHP] netscape user agent name...

2002-10-16 Thread Jon Haworth
Hi, > my question is does Netscape 4.x send "Netscape 4.x" > or "mozilla something"? It sends "Mozilla/4.7 [en] (WinNT; I)" (varies with version, language and OS, obviously). I use this to sniff Netscape 4: if (strstr($_SERVER["HTTP_USER_AGENT"], "Mozilla/4.") && !strstr($_SERVER["HTTP_USER_A

[PHP] netscape user agent name...

2002-10-16 Thread Noodle Snacks
Accidently hit the send shortcut... I am just finish off a site. An of course the css rendered really badly with netscape... Fixed that with the: @import url(style_sheets/); trick. One or two of the images looks really bad with the simpler css. I am going to detect the browser