Search squid archive

Re: adding a parameter to a URL / Problem in the url_redirect program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux