note 35905 added to function.gethostbyname
| From: | jreynolds at strikeholdings dot com | Date: | Thu, 18 Sep 2003 18:00:45 +0000 |
| Subject: | note 35905 added to function.gethostbyname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-56719@lists.php.net to get a copy of this message | ||
FYI, Verisign's "wonderful" new SiteFinder initiative, which seeks to capitalize on
misspellings entered into browser location bars, affects this function's ability to determine
the validity of a host. It took me a while to figure out why my e-mail validation routine was
suddenly letting bogus host names through. It's because when given an invalid host name,
gethostbyname() now returns a Verisign IP address instead of the host name itself.
----
Manual Page -- http://www.php.net/manual/en/function.gethostbyname.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35905
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35905&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35905&report=yes