18 Sep
2002
18 Sep
'02
6:34 a.m.
On Wed, Sep 18, 2002 at 09:48:25AM +0200, Dorian Meid wrote:
You mean something like: $userip = %ENV{'REMOTE_ADDR'}; # ;-)
This should be written: $userip = $ENV{'REMOTE_ADDR'}; # :-) ^ If the user is coming from a proxy or firewall, this would be the proxy/firewall's IP. If the proxy is squid, there will be some more stuff inside $ENV{"HTTP_X_FORWARDED_FOR"}. -- Ambrose Li <a.c.li@ieee.org> http://trends.ca/~acli/ http://www.cccgt.org/ DRM is theft - We are the stakeholders