The solution is simpel. Just add a . (point) to the end of
the URL for correct name resolving.
Without this point PHP thinks it's a subdomain of your local
domain and so returns the "local-IP".
----
Server IP: 66.163.161.117
Probable Submitter: 84.168.14.122
----
Manual Page -- http://www.php.net/manual/en/function.gethostbynamel.php
Edit -- https://master
.php.net/note/edit/70018
Del: integrated -- h
ttps://master.php.net/note/delete/70018/integrated
Del: useless -- http
s://master.php.net/note/delete/70018/useless
Del: bad code -- htt
ps://master.php.net/note/delete/70018/bad+code
Del: spam -- https:/
/master.php.net/note/delete/70018/spam
Del: non-english --
https://master.php.net/note/delete/70018/non-english
Del: in docs -- http
s://master.php.net/note/delete/70018/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/70018
Reject -- https://mast
er.php.net/note/reject/70018
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|