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;
 ?>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to