[thelist] PHP 4.1 question
Eöl
eol1 at yahoo.com
Wed Dec 19 23:33:09 CST 2001
Alright, so i have been using register globals off;
since maybe php4.01.
Was using:
$domain=$HTTP_ENV_VARS["REMOTE_ADDR"];
And it worked fine. $domain == REMOTE_ADDR ip
So now I am trying to use the *new improved* global
vars built into 4.1. So I did:
$domain=$_ENV["REMOTE_ADDR"];
Now $domain=="" .... It doesn't work. For the life of
me though i can't see why, the documentation on 4.1
changes seem clear enough of usage of new vars.
Anybody have any ideas?
Cheers,
Eöl
__________________________________________________
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
More information about the thelist
mailing list