httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eöl" <e...@yahoo.com>
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=127.0.0.1 (in this case) and this worked just
fine.

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,

Peter



__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message