Hi John!
On Tue, 23 Jan 2001, John Hinsley wrote:

> Got it in the end. It should be:
> 
> <snip>
> 
> 
> if  ((preg_match("/Mozilla/i", "$agent")) && (preg_match("/Gecko/i",
> "$agent")))  {
>       $result = "You are using Netscape 6 or a later version of Mozilla.";
> 
> <snip>
> 
> But the thought occurs that there must be a site out there somewhere
> which lists the HTTP_USER_AGENT tags for *all* browsers?
I've got a nice browsecap.ini file from php4win.de.
You can then simply use get_browser() [ listed under Miscellaneous functions]


-- teodor

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to