There's more than one way to do things | |
PerlMonks |
Re: Determining foreign port numberby archon (Monk) |
on Mar 05, 2001 at 22:59 UTC ( [id://62316]=note: print w/replies, xml ) | Need Help?? |
You can probably determine this from one of the environment variables stored in %ENV. For example, apache stores it in $ENV{'SERVER_PORT'}
Use this script to print the environment of a CGI request:
HTH, HAND.
In Section
Seekers of Perl Wisdom
|
|