vik_c - 7:02 am on Jan 18, 2012 (gmt 0)
$_SERVER['REMOTE_ADDR'] is what you're after.
That doesn't bypass proxy.
Does $_SERVER['REMOTE_ADDR'] return an IP address for you?
No. it doesn't
this is reliant on register_globals being set on the server
True. That's why I'm not using it.
Still looking for a reliable PHP snippet. I'm sure there's a way because so many sites are able to figure out my own IP, unless they're using Perl or something else.