In message <[EMAIL PROTECTED]>, Ski Dawg
<[EMAIL PROTECTED]> writes
>Does
>anyone know of a good script that will examine the browser (name and
>version) and let me print warnings if they are using an old version that
>doesn't work. I would prefer something server side, so that I don't have
>to rely on the client having javascript enabled.

getenv ("HTTP_USER_AGENT")
but it doesn't seem to work all the time, and I have never got around to
looking into why...

Gives:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FDM; .NET CLR
2.0.50727)
or:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10)
Gecko/20050717 Firefox/1.0.6

-- 
Pete Clark

Free advertising for your website, business, or organisation at:
http://www.hotcosta.com/resources.php




The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to