$ip=gethostbyaddr(getenv("REMOTE_HOST"));
Why this wont display the hostname properly?
In my localhost it says dell(my pc's name) but in remote host bothing why?
why not just try this
$ip=gethostbyaddr($_SERVER['REOMTE_ADDR']);
thank u very much!
the one u gave me actually worked!
mine not!
neither gethostbyaddr($REMOTE_ADDR);
bu i wonder why!?!?!