httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eöl" <>
Subject PHP 4.1 and new global variables
Date Tue, 18 Dec 2001 00:11:24 GMT
Hello everybody,

Just got around to updating my scripts and already
running into issues (have been running global off for
awhile).  Before (4.06) I used:

$domain=$HTTP_ENV_VARS["REMOTE_ADDR"]; and
$domain= (in this case) and this worked just

Now I attempted:

$domain=$_ENV["REMOTE_ADDR"]; and $domain="" now
instead of the ip address.  Did I implement the new
shorter variable wrong?

Thanks in advance for the help,


Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at
or bid at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message