in reply to Re: Can my perl scripts get the IP address that called the script?
in thread Can my perl scripts get the IP address that called the script?
You're right I should have stated CGI.
So I added:
my $q = new CGI; my $userIP = $q->remote_addr();
And it works. Is there a way to mark a question closed?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can my perl scripts get the IP address that called the script?
by Discipulus (Canon) on Apr 08, 2022 at 19:58 UTC | |
|
Re^3: Can my perl scripts get the IP address that called the script?
by kcott (Archbishop) on Apr 09, 2022 at 01:32 UTC | |
|
Re^3: Can my perl scripts get the IP address that called the script?
by davebaker (Pilgrim) on Apr 09, 2022 at 17:12 UTC |