irc-html Wed Jan 2 22:34:32 2002 EDT
Modified files:
/phpdoc/en/functions ftp.xml
Log:
fixed errors, makeable now
Index: phpdoc/en/functions/ftp.xml
diff -u phpdoc/en/functions/ftp.xml:1.32 phpdoc/en/functions/ftp.xml:1.33
--- phpdoc/en/functions/ftp.xml:1.32 Wed Jan 2 21:43:12 2002
+++ phpdoc/en/functions/ftp.xml Wed Jan 2 22:34:31 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.32 $ -->
+<!-- $Revision: 1.33 $ -->
<reference id="ref.ftp">
<title>FTP functions</title>
<titleabbrev>FTP</titleabbrev>
@@ -73,8 +73,12 @@
<funcprototype>
<funcdef>resource <function>ftp_connect</function></funcdef>
<paramdef>string <parameter>host</parameter></paramdef>
- <paramdef>int <parameter><optional>port</optional></paramdef></paramdef>
- <paramdef>int <parameter><optional>timeout</optional></parameter></paramdef>
+ <paramdef>int
+ <parameter><optional>port</optional></parameter>
+ </paramdef>
+ <paramdef>int
+ <parameter><optional>timeout</optional></parameter>
+ </paramdef>
</funcprototype>
</funcsynopsis>
<para>
@@ -670,7 +674,7 @@
<tgroup cols="2">
<tbody>
<row>
- <entry><member>FTP_TIMEOUT_SEC</member></entry>
+ <entry>FTP_TIMEOUT_SEC</entry>
<entry>Changes the timeout in seconds used for all network related
functions. Parameter <parameter>value</parameter> has be to of type
int and must be greater than 0. The default timeout is 90
@@ -688,7 +692,8 @@
// Set the network timeout down to 10 seconds
ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10);
]]>
- </programlistuing>
+ </programlisting>
+ </example>
</para>
</refsect1>
</refentry>
@@ -728,7 +733,7 @@
<tgroup cols="2">
<tbody>
<row>
- <entry><member>FTP_TIMEOUT_SEC</member></entry>
+ <entry>FTP_TIMEOUT_SEC</entry>
<entry>Returns the current timeout used for network related
operations.</entry>
</row>
@@ -744,7 +749,8 @@
// Get the timeout of the given FTP stream
$timeout = ftp_get_option($conn_id, FTP_TIMEOUT_SEC);
]]>
- </programlistuing>
+ </programlisting>
+ </example>
</para>
</refsect1>
</refentry>