Hi Octavian, Thank you so much . I used it and got a huge out put . anyway when I explore my requirement , its like this , in following example
http://somethig.com/?name=aaaa&number=222222 How would i filter that "name" and "number" parameter form the request url ?? Could you please help me ? Thank you Luke. ----- Original Message ---- From: Octavian Rasnita <[EMAIL PROTECTED]> To: luke devon <[EMAIL PROTECTED]>; Perl <beginners@perl.org> Sent: Tuesday, June 17, 2008 14:32:34 Subject: Re: Capture URL parameter 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 Send instant messages to your online friends http://uk.messenger.yahoo.com