[PHP-DEV] cvs: /phpdoc/functions ftp.sgml From: Andrew Skalski (askalski <email protected>)
Date: 09/22/99

askalski Wed Sep 22 12:07:14 1999 EDT

  Modified files:
    /phpdoc/functions ftp.sgml
  Log:
  Added docs for ftp_connect()'s new port parameter.
  
  
Index: phpdoc/functions/ftp.sgml
diff -u phpdoc/functions/ftp.sgml:1.5 phpdoc/functions/ftp.sgml:1.6
--- phpdoc/functions/ftp.sgml:1.5 Mon Sep 20 11:19:50 1999
+++ phpdoc/functions/ftp.sgml Wed Sep 22 12:07:13 1999
@@ -24,12 +24,16 @@
     <funcsynopsis>
      <funcdef>int <function>ftp_connect</function></funcdef>
      <paramdef>string <parameter>host</parameter></paramdef>
+ <paramdef>int <parameter><optional>port</optional>
+ </parameter></paramdef>
     </funcsynopsis>
     <para>
      Returns a FTP stream on success, false on error.
     <para>
      <function>ftp_connect</function> opens up a FTP connection to the
- specified <parameter>host</parameter>.
+ specified <parameter>host</parameter>. The <parameter>port</parameter>
+ parameter specifies an alternate port to connect to. If it is
+ omitted or zero, then the default FTP port, 21, will be used.
    </refsect1>
   </refentry>
 

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>