Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How can I get information about the user's browser?

by ybiC (Prior)
on Aug 22, 2000 at 05:43 UTC ( [id://28953]=note: print w/replies, xml ) Need Help??


in reply to How can I get information about the user's browser?

I'm not clear on what you mean by "called from the html page using a image reference", and this may not apply since you're using "a simple socket server", but I use the following environment variables from CGI.pm.
$ENV{'REMOTE_HOST'} $ENV{'REMOTE_ADDR'} $ENV{'HTTP_USER_AGENT'}

If this is what you're looking for, more info can be found at http://stein.cshl.org/WWW/software/CGI/.

No mater how you extract this info, it's trivially spoofed, so you shouldn't base any security on what browsers tell you about themselves.
    cheers,
    ybiC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://28953]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-18 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found