note 79747 rejected from function.gethostbyname by betz

From: Date: Tue, 11 Dec 2007 14:32:42 +0000
Subject: note 79747 rejected from function.gethostbyname by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-133366@lists.php.net to get a copy of this message
Note Submitter: tomahawk at gmx dot org ---- Problem with this function in PHP5: <?php $sIp = gethostbyname ('nonexisting-host.com'); var_dump ($sIp); ?> This returns my own host-ip but not "nonexisting-host.com" as it should be. Somebody can explain this to me?

« previous php.notes (#133366) next »