koha-devel
[Top][All Lists]
Advanced

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

Re: [Koha-devel] Theme and language settings.....


From: Ambrose Li
Subject: Re: [Koha-devel] Theme and language settings.....
Date: Wed Sep 18 05:34:02 2002
User-agent: Mutt/1.2.5i

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  <address@hidden>
http://trends.ca/~acli/  http://www.cccgt.org/

DRM is theft - We are the stakeholders



reply via email to

[Prev in Thread] Current Thread [Next in Thread]