note 10441 added to gethostbyname

From: Date: Wed, 03 Jan 2001 22:18:41 +0000
Subject: note 10441 added to gethostbyname
Groups: php.notes 
Request: Send a blank email to php-notes+get-9353@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 (#9353) next »