Greg Donald wrote:
>>Ultimately, I'm trying to figure out how I can determine if the
>>user is using NS 4.x or not...
>>
>
> Use this to identify Netscape 4.x:
>
> if(strstr($HTTP_USER_AGENT,"Mozilla/4") &&
> !strstr($HTTP_USER_AGENT,"MSIE")){
> // is Netscape 4
> } else {
> // is something else
> }
>
>
> ------------------------------------------------------------------------
> Greg Donald - http://destiney.com/
> http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
> ------------------------------------------------------------------------
>
>
Is that going to catch the Mozilla spoofers, like webtv and opera?
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php