From: "luke devon" <[EMAIL PROTECTED]> Dear Friends I am going to capture some values/parameters which are comes trough URL. like Client_IP , domain name .....etc. But i have no idea how it would be done by perl. Here i am going to use bcoz this program based on squid-cache server.
Those environment vars don't come in the URL, but are sent in the HTTP headers or are set by the web server. If you want to get the names and values of all vars, you could use a script like: #!/usr/bin/perl print "Content-Type: text/html\n\n"; print "$_=$ENV{$_}<br>" foreach sort keys %ENV; Octavian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/