philip          Fri Feb 14 20:01:21 2003 EDT

  Modified files:              
    /phpdoc/en/reference/network/functions      gethostbyname.xml 
  Log:
  Typo
  
  
Index: phpdoc/en/reference/network/functions/gethostbyname.xml
diff -u phpdoc/en/reference/network/functions/gethostbyname.xml:1.5 
phpdoc/en/reference/network/functions/gethostbyname.xml:1.6
--- phpdoc/en/reference/network/functions/gethostbyname.xml:1.5 Tue Jan  7 17:42:28 
2003
+++ phpdoc/en/reference/network/functions/gethostbyname.xml     Fri Feb 14 20:01:21 
+2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/network.xml, last change in rev 1.2 -->
   <refentry id="function.gethostbyname">
    <refnamediv>
@@ -19,6 +19,20 @@
      <parameter>hostname</parameter> or a string containing the unmodified 
      <parameter>hostname</parameter> on failure.
     </para> 
+    <para>
+     <example>
+      <title>A simple <function>gethostbyaddr</function> example</title>
+      <programlisting role="php">
+<![CDATA[
+<?php
+$ip = gethostbyaddr($_SERVER['REMOTE_HOST']);
+
+print $ip;
+?>
+]]>
+      </programlisting>
+     </example>
+    </para>
     <para>
      See also <function>gethostbyaddr</function>.
     </para>



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

Reply via email to