[PHP-DOC] cvs: phpdoc /en/functions ftp.xml From: Egon Schmid (eschmid <email protected>)
Date: 09/02/00

eschmid Sat Sep 2 03:37:02 2000 EDT

  Modified files:
    /phpdoc/en/functions ftp.xml
  Log:
  Eleminated some bugs here.
  
Index: phpdoc/en/functions/ftp.xml
diff -u phpdoc/en/functions/ftp.xml:1.9 phpdoc/en/functions/ftp.xml:1.10
--- phpdoc/en/functions/ftp.xml:1.9 Fri Sep 1 21:36:29 2000
+++ phpdoc/en/functions/ftp.xml Sat Sep 2 03:37:02 2000
@@ -45,6 +45,7 @@
 ?>
      </programlisting>
     </example>
+ </para>
   </partintro>
 
   <refentry id="function.ftp-connect">
@@ -363,12 +364,15 @@
      on the FTP server, as <parameter>remote_file</parameter>. The transfer
      <parameter>mode</parameter> specified must be either
      <constant>FTP_ASCII</constant> or <constant>FTP_BINARY</constant>.
- <example>
- <programlisting>
-$upload = ftp_put($conn_id, "$destination_file", "$source_file", FTP_ASCII);
- </programlisting>
- </example>
- </para>
+ </para>
+ <para>
+ <example>
+ <title><function>Ftp_put</function> example</title>
+ <programlisting role="php">
+$upload = ftp_put ($conn_id, "$destination_file", "$source_file", FTP_ASCII);
+ </programlisting>
+ </example>
+ </para>
    </refsect1>
   </refentry>