Gossamer Forum
Home : General : Perl Programming :

Enviroment Variable

Quote Reply
Enviroment Variable
How can I get exactly the browser, browser version, os, os version of surfers through Enviroment variable?

Quote Reply
Re: Enviroment Variable In reply to
$ENV{HTTP_USER_AGENT}

Want more info? Then search Google.com for browser detection Perl.

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: Enviroment Variable In reply to
Hi Elliot,

I want to write a plugins that allow the admin know traffic of his site. I want to collect information from surfers 's machines by perl not javascripts.

Any ideas?

Regards,

Mark

Quote Reply
Re: Enviroment Variable In reply to
Hi,

$ENV{HTTP_USER_AGENT} is a perl environment variable that will tell you the users browser and operating system.

However, you may be better off at just using a regular tool to analyze log files.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Enviroment Variable In reply to
As Alex stated...it IS a Perl environmental variable!

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: Enviroment Variable In reply to
What do you think about this pluggin?

Please advise me.

Mark

Quote Reply
Re: Enviroment Variable In reply to
A "plugin" for what? Do you mean something that is "plugged" into your client's browser? Or "plugging" into an existing Perl application.

If it is the latter, then all you have to do is "insert" the value into a column in either a table in a database or in a flat file.

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: Enviroment Variable In reply to
Pluggin for Links SQL. OK?

Quote Reply
Re: Enviroment Variable In reply to
Hi,

I'm not sure I see the value. Most sites will have log files generated automatically, and tools like Webtrends, or Analog can produce much more comprehensive statistics then you could hope to do realistcally.

What would it do that would be useful?

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Enviroment Variable In reply to
Hi Alex,

You can stat who refer to your site and have numeric statistic.

Regards,

Mark

Quote Reply
Re: Enviroment Variable In reply to
...which server logs already provide....with graphical interfaces too.....like Analog, webalizer etc....we are just trying to save you the effort rather than discourge you.....


Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: Enviroment Variable In reply to
Well, Mr. "I think that $ENV{HTTP_USER_AGENT} is javascript code", you were NOT specific at all in your previous posts and that is why I asked for clarification, OK?

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: Enviroment Variable In reply to
Easy Tigger....

I've left my fireproofs at my moms, so I'm not stepping into this flame war...

- w