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_AGENT"], "MSIE")) {
  echo "<p>You're using netscape 4.</p>";
}

Seems to work OK.

Cheers
Jon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to