cvs: /phpdoc/functions ftp.sgml
| From: | Andrew Skalski | Date: | Wed, 22 Sep 1999 16:07:14 +0000 |
| Subject: | cvs: /phpdoc/functions ftp.sgml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11200@lists.php.net to get a copy of this message | ||
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>