note 10441 modified in gethostbyname by zak

From: Date: Wed, 03 Jan 2001 22:21:18 +0000
Subject: note 10441 modified in gethostbyname by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-9355@lists.php.net to get a copy of this message
Beware of whitespace in the sitename! $sitename = trim("www.php.net"); $ipadres = gethostbyname($sitename); echo $ipadres; http://www.php.net/manual/function.gethostbyname.php

« previous php.notes (#9355) next »