I did same way . but client ip doesn't comes in the second possition. Its in third. my ($url, $x, $ip) = split(/ /); but in squid guide says it shoudl be in second element. why is this confusion ? URL ip-address/fqdn ident method. If that thrid possition will not constant all will goes off. i meant our logic will not work any more. Regards Shaine Henrik Nordstrom-5 wrote: > > On mån, 2008-07-07 at 10:03 +0000, Shain Lee wrote: >> Thank you Henrik. yes that script is very simple and now and its >> working. But i have another requirement to capture Client IP which >> comes via the URL . Its bit confuse at this time coz i had different >> idea .So now can direct me to how to capture client ip by that perl >> script which you have posted. > > change the split line to > > my ($url, $ip) = split(/ /); > > Then use $ip as you like in the script.. > > Regards > Henrik > > > > -- View this message in context: http://www.nabble.com/adding-a-parameter-to-a-URL-tp17776816p18315957.html Sent from the Squid - Users mailing list archive at Nabble.com.