> -----Original Message-----
> From: Jerry Preston [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 17, 2002 3:59 PM
> To: begginners
> Subject: which browser
> 
> 
> Hi,
> 
> How can I tell which browser is running my perl script?

Assuming your running under a standard CGI environment:

 $ENV{HTTP_USER_AGENT} will give you the browser's identification
 $ENV{SERVER_SOFTWARE} will give you the server's identification

Note that the browser doesn't run your script, the web server does.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to