cvs: phpdoc /en/reference/network/functions gethostbyname.xml

From: Date: Sat, 15 Feb 2003 01:04:23 +0000
Subject: cvs: phpdoc /en/reference/network/functions gethostbyname.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351796@lists.php.net to get a copy of this message
philip Fri Feb 14 20:04:23 2003 EDT Modified files: /phpdoc/en/reference/network/functions gethostbyname.xml Log: Fix accidental/premature commit which added a new example Index: phpdoc/en/reference/network/functions/gethostbyname.xml diff -u phpdoc/en/reference/network/functions/gethostbyname.xml:1.6 phpdoc/en/reference/network/functions/gethostbyname.xml:1.7 --- phpdoc/en/reference/network/functions/gethostbyname.xml:1.6 Fri Feb 14 20:01:21 2003 +++ phpdoc/en/reference/network/functions/gethostbyname.xml Fri Feb 14 20:04:23 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.2 --> <refentry id="function.gethostbyname"> <refnamediv> @@ -25,7 +25,7 @@ <programlisting role="php"> <![CDATA[ <?php -$ip = gethostbyaddr($_SERVER['REMOTE_HOST']); +$ip = gethostbyname('www.example.com'); print $ip; ?>

« previous php.doc (#969351796) next »