Posted by Gordon Burditt on 06/02/06 17:13
>I have a problem when I use the $_SERVER['remote_addr'].
>I'm testing a script, and the strange thing is that remote_addr returns an
>ip-address only sometimes, and not always. Why can that be?
>Are there any other (better) methods of getting the ip-address?
Some IP addresses have no reverse DNS. If it's intermittent for
the SAME IP address on different hits, maybe you're having trouble
with DNS lookups.
Gordon L. Burditt
Navigation:
[Reply to this message]
|