sander          Thu Mar 28 11:23:51 2002 EDT

  Modified files:              
    /phpdoc/en/functions        ftp.xml readline.xml 
  Log:
  Updated ftp and readline docs: splitted the intro-sections.
  
  
Index: phpdoc/en/functions/ftp.xml
diff -u phpdoc/en/functions/ftp.xml:1.43 phpdoc/en/functions/ftp.xml:1.44
--- phpdoc/en/functions/ftp.xml:1.43    Sat Mar 23 12:31:02 2002
+++ phpdoc/en/functions/ftp.xml Thu Mar 28 11:23:51 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.43 $ -->
+<!-- $Revision: 1.44 $ -->
  <reference id="ref.ftp">
   <title>FTP functions</title>
   <titleabbrev>FTP</titleabbrev>
@@ -11,21 +11,54 @@
     <ulink url="&spec.ftp;">&spec.ftp;</ulink>.
    </para>
 
+  <section id="ftp.requirements">
+   <title>Requirements</title>
+   <para>
+    The FTP-extension has no special requirements. It's completely contained
+    in PHP.
+   </para>
+  </section>
+
+  <section id="ftp.installation">
+   <title>Installation</title>
+   <para>
+    In order to use FTP functions with your PHP configuration, you should
+    add the <link linkend="install.configure.enable-ftp">
+    <option role="configure">--enable-ftp</option></link> option when
+    installing PHP 4, and <link linkend="install.configure.with-ftp">
+    <option role="configure">--with-ftp</option></link> when using PHP 3.
+   </para>
+  </section>
+
+  <section id="ftp.configuration">
+   <title>Configuration</title>
+   <para>
+    This extensions does not define any configuration directives.
+   </para>
+  </section>
+
+  <section id="ftp.resources">
+   <title>Resource types</title>
+   <para>
+    This extension uses one resource-type, which is the link-identifier
+    of the ftp-connection.
+   </para>
+  </section>
+
+  <section id="ftp.constants">
+   <title>Constants</title>
    <para>
     The following constants are defined when using the FTP module:
     <constant>FTP_ASCII</constant> and <constant>FTP_BINARY</constant>.
    </para>
-  <para>
-   In order to use FTP functions with your PHP configuration, you should
-   add the <link linkend="install.configure.enable-ftp">
-   <option>--enable-ftp</option></link> option when installing PHP 4, 
-   and <link linkend="install.configure.with-ftp">
-   <option>--with-ftp</option></link> when using PHP 3.
-  </para>
-  <para>
-   <example>
-    <title>FTP</title>
-     <programlisting>
+  </section>
+  
+  <section id="ftp.examples">
+   <title>Example</title>
+   <para>
+    <example>
+     <title>FTP example</title>
+     <programlisting role="php">
 <![CDATA[
 <?php
 // set up basic connection
@@ -57,9 +90,10 @@
 ftp_close($conn_id); 
 ?>
 ]]>
-     </programlisting>
-    </example>
-   </para>
+      </programlisting>
+     </example>
+    </para>
+   </section>
   </partintro>
 
   <refentry id="function.ftp-connect">
Index: phpdoc/en/functions/readline.xml
diff -u phpdoc/en/functions/readline.xml:1.17 phpdoc/en/functions/readline.xml:1.18
--- phpdoc/en/functions/readline.xml:1.17       Sat Feb  2 10:36:08 2002
+++ phpdoc/en/functions/readline.xml    Thu Mar 28 11:23:51 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
  <reference id="ref.readline">
   <title>GNU Readline</title>
   <titleabbrev>Readline</titleabbrev>
@@ -15,11 +15,46 @@
     but may be useful when writing scripts meant to be run from a
     shell.
    </simpara>
-   <simpara>
-    The home page of the GNU Readline project is
-    <ulink url="&url.readline;">&url.readline;</ulink>.  It's maintained
-    by Chet Ramey, who's also the author of Bash.
-   </simpara>
+
+   <section id="readline.requirements">
+    <title>Requirements</title>
+    <para>
+     To use the readline functions, you need to install libreadline and
+     compile PHP with support for readline.
+    </para>
+   </section>
+
+   <section id="readline.installation">
+    <title>Installation</title>
+    <para>
+     To compile PHP with readline support, you need to configure PHP
+     <option role="configure">--with-readline</option> after you've installed
+     libreadline. You can find libreadline on the home page of the GNU
+     Readline project, at <ulink url="&url.readline;">&url.readline;</ulink>.
+     It's maintained by Chet Ramey, who's also the author of Bash.
+    </para>
+   </section>
+
+   <section id="readline.configuration">
+    <title>Runtime Configuration</title>
+    <para>
+     This extensions does not define any configuration directives.
+    </para>
+   </section>
+   
+   <section id="readline.resources">
+    <title>Resource types</title>
+    <para>
+     This extension does not define any resource types.
+    </para>
+   </section>
+
+   <section id="readline.constants">
+    <title>Predefined constants</title>
+    <para>
+     This extension does not define any constants.
+    </para>
+   </section>
   </partintro>
 
   <refentry id="function.readline">


Reply via email to