#24073 [Opn->Csd]: gethostbyname example confusion

From: Date: Sat, 07 Jun 2003 05:49:14 +0000
Subject: #24073 [Opn->Csd]: gethostbyname example confusion
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354323@lists.php.net to get a copy of this message
ID: 24073 Updated by: philip@php.net Reported By: dv at josheli dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Windows XP PHP Version: 4.3.1 New Comment: Fixed in CVS, it'll show up during the next manual build. Thanks for the report :) Previous Comments: ------------------------------------------------------------------------ [2003-06-07 00:25:58] dv at josheli dot com "Example 1" under function 'gethostbyname' should read "gethostbyname", not "gethostbyaddr". gethostbyname ..... Example 1. A simple gethostbyaddr() example <?php $ip = gethostbyname('www.example.com'); print $ip; ?> See also gethostbyaddr(). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24073&edit=1

« previous php.doc (#969354323) next »