> either $HTTP_SERVER_VARS['REMOTE_ADDR'] or simply $REMOTE_ADDR (if you use
> $REMOTE_ADDR in functions make sure you do a global on it first) - I
> personally use $REMOTE_ADDR, but you should read the docs for details...

using $REMOTE_ADDR directly is fine as long as the
"register_global" setting is off.

otherwise, it's wiser to use getenv('REMOTE_ADDR') instead of
$REMOTE_ADDR directly.

--
Jimmy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Failure doesn't mean you'll never make it. It just means it may take longer.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to