cvs: phpdoc-de /reference/ftp book.xml configure.xml examples.xml reference.xml setup.xml
| From: | Hartmut Holzgraefe | Date: | Fri, 07 Mar 2008 18:08:48 +0000 |
| Subject: | cvs: phpdoc-de /reference/ftp book.xml configure.xml examples.xml reference.xml setup.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-2446@lists.php.net to get a copy of this message | ||
hholzgra Fri Mar 7 18:08:48 2008 UTC
Added files:
/phpdoc-de/reference/ftp book.xml examples.xml setup.xml
Modified files:
/phpdoc-de/reference/ftp configure.xml reference.xml
Log:
new file structure
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/configure.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ftp/configure.xml diff -u phpdoc-de/reference/ftp/configure.xml:1.4 phpdoc-de/reference/ftp/configure.xml:1.5 --- phpdoc-de/reference/ftp/configure.xml:1.4 Sat Jun 23 13:21:36 2007 +++ phpdoc-de/reference/ftp/configure.xml Fri Mar 7 18:08:48 2008 @@ -1,33 +1,32 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: unknown --> -<section xml:id="ftp.installation" xmlns="http://docbook.org/ns/docbook"> - &reftitle.install; - <para> - Um die FTP Funktionen zu verwenden muss die Option - <option role="configure">--enable-ftp</option> verwendet (PHP 4 oder neuer) werden - oder die Option <option role="configure">--with-ftp</option> (PHP 3). - </para> - &windows.builtin; -</section> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.5 Maintainer: krid Status: ready --> +<section xml:id="ftp.installation" xmlns="http://docbook.org/ns/docbook"> + &reftitle.install; + <para> + Um die FTP Funktionen zu verwenden muss die Option + <option role="configure">--enable-ftp</option> verwendet werden. + </para> + &windows.builtin; +</section> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/reference.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/ftp/reference.xml diff -u phpdoc-de/reference/ftp/reference.xml:1.8 phpdoc-de/reference/ftp/reference.xml:1.9 --- phpdoc-de/reference/ftp/reference.xml:1.8 Mon Dec 10 17:09:01 2007 +++ phpdoc-de/reference/ftp/reference.xml Fri Mar 7 18:08:48 2008 @@ -1,110 +1,32 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.13 Maintainer: krid Status: ready --> - <reference xml:id="ref.ftp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>FTP-Funktionen</title> - <titleabbrev>FTP</titleabbrev> - - <partintro> - <section xml:id="ftp.intro"> - &reftitle.intro; - <para> - Die Funktionen dieser Erweiterung implementieren den Zugriff auf Server - über das File Transfer Protocol (FTP), wie unter - <link xlink:href="&url.rfc;959">&url.rfc;959</link> definiert. - Wenn Sie ausschließlich eine Datei von einem FTP-Server lesen - oder Schreiben wollen, sollten Sie die Verwendung der - <link linkend="wrappers.ftp"><literal>ftp://</literal> Wrapper</link> - zusammen mit den <link linkend="ref.filesystem">Filesystem Funktionen</link> - in Betracht ziehen. Dies ermöglicht einen einfacheren und intuitivere Zugriff. - </para> - </section> - - <section xml:id="ftp.requirements"> - &reftitle.required; - &no.requirement; - </section> - - &reference.ftp.configure; - - <section xml:id="ftp.configuration"> - &reftitle.runtime; - &no.config; - </section> - - <section xml:id="ftp.resources"> - &reftitle.resources; - <para> - Diese Erweiterung verwendet ausschließlich einen Resourcen-Typ und - zwar den Link-Identifier der FTP-Connection, der von - <function>ftp_connect</function> und <function>ftp_ssl_connect</function> - zurückgeliefert wird. - </para> - </section> - - &reference.ftp.constants; - - <section xml:id="ftp.examples"> - &reftitle.examples; - <para> - <example> - <title>FTP Beispiel</title> - <programlisting role="php"> -<![CDATA[ -<?php -// Verbindungsaufbau -$conn_id = ftp_connect($ftp_server); - -// Login mit Username und Passwort -$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); - -// Verbindung überprüfen -if ((!$conn_id) || (!$login_result)) { - echo "FTP Verbindung ist fehlgeschlagen!"; - echo "Verbindungasufbau zu $ftp_server mit Username $ftp_user_name versucht."; - exit; - } else { - echo "Verbunden zu $ftp_server mit Username $ftp_user_name"; - } - -// Datei hochladen -$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY); - -// Upload überprüfen -if (!$upload) { - echo "FTP-Upload ist fehlgeschlagen!"; - } else { - echo "Datei $source_file auf Server $ftp_server als $destination_file hochgeladen"; - } - -// FTP Verbidung schließen -ftp_close($conn_id); -?> -]]> - </programlisting> - </example> - </para> - </section> - - </partintro> - -&reference.ftp.entities.functions; - -</reference> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.2 Maintainer: krid Status: ready --> + +<reference xml:id="ref.ftp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>FTP &Functions;</title> + + &reference.ftp.entities.functions; + +</reference> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=xml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/book.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/ftp/book.xml +++ phpdoc-de/reference/ftp/book.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: krid Status: ready --> <book xml:id="book.ftp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>FTP</title> <!-- {{{ preface --> <preface xml:id="intro.ftp"> &reftitle.intro; <para> Die Funktionen dieser Erweiterung implementieren den Zugriff auf Server über das File Transfer Protocol (FTP), wie unter <link xlink:href="&url.rfc;959">&url.rfc;959</link> definiert. Wenn Sie ausschließlich eine Datei von einem FTP-Server lesen oder Schreiben wollen, sollten Sie die Verwendung der <link linkend="wrappers.ftp"><literal>ftp://</literal> Wrapper</link> zusammen mit den <link linkend="ref.filesystem">Filesystem Funktionen</link> in Betracht ziehen. Dies ermöglicht einen einfacheren und intuitivere Zugriff. </para> </preface> <!-- }}} --> &reference.ftp.setup; &reference.ftp.constants; &reference.ftp.examples; &reference.ftp.reference; </book> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/examples.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/ftp/examples.xml +++ phpdoc-de/reference/ftp/examples.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: krid Status: ready --> <chapter xml:id="ftp.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; <section xml:id="ftp.examples-basic"> <para> <example> <title>FTP Beispiel</title> <programlisting role="php"> <![CDATA[ <?php // Verbindungsaufbau $conn_id = ftp_connect($ftp_server); // Login mit Username und Passwort $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); // Verbindung überprüfen if ((!$conn_id) || (!$login_result)) { echo "FTP Verbindung ist fehlgeschlagen!"; echo "Verbindungasufbau zu $ftp_server mit Username $ftp_user_name versucht."; exit; } else { echo "Verbunden zu $ftp_server mit Username $ftp_user_name"; } // Datei hochladen $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY); // Upload überprüfen if (!$upload) { echo "FTP-Upload ist fehlgeschlagen!"; } else { echo "Datei $source_file auf Server $ftp_server als $destination_file hochgeladen"; } // FTP Verbidung schlieÃen ftp_close($conn_id); ?> ]]> </programlisting> </example> </para> </section> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=xml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/setup.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/ftp/setup.xml +++ phpdoc-de/reference/ftp/setup.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <chapter xml:id="ftp.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; <!-- {{{ Requirements --> <section xml:id="ftp.requirements"> &reftitle.required; &no.requirement; </section> <!-- }}} --> <!-- {{{ Installation --> &reference.ftp.configure; <!-- }}} --> <!-- {{{ Configuration --> <section xml:id="ftp.configuration"> &reftitle.runtime; &no.config; </section> <!-- }}} --> <!-- {{{ Resources --> <section xml:id="ftp.resources"> &reftitle.resources; <para> Diese Erweiterung verwendet ausschlieÃlich einen Resourcen-Typ und zwar den Link-Identifier der FTP-Connection, der von <function>ftp_connect</function> und <function>ftp_ssl_connect</function> zurückgeliefert wird. </para> </section> <!-- }}} --> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/configure.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-de/reference/ftp/configure.xml diff -u phpdoc-de/reference/ftp/configure.xml:1.4 phpdoc-de/reference/ftp/configure.xml:1.5 --- phpdoc-de/reference/ftp/configure.xml:1.4 Sat Jun 23 13:21:36 2007 +++ phpdoc-de/reference/ftp/configure.xml Fri Mar 7 18:08:48 2008 @@ -1,33 +1,32 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: unknown --> -<section xml:id="ftp.installation" xmlns="http://docbook.org/ns/docbook"> - &reftitle.install; - <para> - Um die FTP Funktionen zu verwenden muss die Option - <option role="configure">--enable-ftp</option> verwendet (PHP 4 oder neuer) werden - oder die Option <option role="configure">--with-ftp</option> (PHP 3). - </para> - &windows.builtin; -</section> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.5 Maintainer: krid Status: ready --> +<section xml:id="ftp.installation" xmlns="http://docbook.org/ns/docbook"> + &reftitle.install; + <para> + Um die FTP Funktionen zu verwenden muss die Option + <option role="configure">--enable-ftp</option> verwendet werden. + </para> + &windows.builtin; +</section> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/reference.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/ftp/reference.xml diff -u phpdoc-de/reference/ftp/reference.xml:1.8 phpdoc-de/reference/ftp/reference.xml:1.9 --- phpdoc-de/reference/ftp/reference.xml:1.8 Mon Dec 10 17:09:01 2007 +++ phpdoc-de/reference/ftp/reference.xml Fri Mar 7 18:08:48 2008 @@ -1,110 +1,32 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.13 Maintainer: krid Status: ready --> - <reference xml:id="ref.ftp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>FTP-Funktionen</title> - <titleabbrev>FTP</titleabbrev> - - <partintro> - <section xml:id="ftp.intro"> - &reftitle.intro; - <para> - Die Funktionen dieser Erweiterung implementieren den Zugriff auf Server - über das File Transfer Protocol (FTP), wie unter - <link xlink:href="&url.rfc;959">&url.rfc;959</link> definiert. - Wenn Sie ausschließlich eine Datei von einem FTP-Server lesen - oder Schreiben wollen, sollten Sie die Verwendung der - <link linkend="wrappers.ftp"><literal>ftp://</literal> Wrapper</link> - zusammen mit den <link linkend="ref.filesystem">Filesystem Funktionen</link> - in Betracht ziehen. Dies ermöglicht einen einfacheren und intuitivere Zugriff. - </para> - </section> - - <section xml:id="ftp.requirements"> - &reftitle.required; - &no.requirement; - </section> - - &reference.ftp.configure; - - <section xml:id="ftp.configuration"> - &reftitle.runtime; - &no.config; - </section> - - <section xml:id="ftp.resources"> - &reftitle.resources; - <para> - Diese Erweiterung verwendet ausschließlich einen Resourcen-Typ und - zwar den Link-Identifier der FTP-Connection, der von - <function>ftp_connect</function> und <function>ftp_ssl_connect</function> - zurückgeliefert wird. - </para> - </section> - - &reference.ftp.constants; - - <section xml:id="ftp.examples"> - &reftitle.examples; - <para> - <example> - <title>FTP Beispiel</title> - <programlisting role="php"> -<![CDATA[ -<?php -// Verbindungsaufbau -$conn_id = ftp_connect($ftp_server); - -// Login mit Username und Passwort -$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); - -// Verbindung überprüfen -if ((!$conn_id) || (!$login_result)) { - echo "FTP Verbindung ist fehlgeschlagen!"; - echo "Verbindungasufbau zu $ftp_server mit Username $ftp_user_name versucht."; - exit; - } else { - echo "Verbunden zu $ftp_server mit Username $ftp_user_name"; - } - -// Datei hochladen -$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY); - -// Upload überprüfen -if (!$upload) { - echo "FTP-Upload ist fehlgeschlagen!"; - } else { - echo "Datei $source_file auf Server $ftp_server als $destination_file hochgeladen"; - } - -// FTP Verbidung schließen -ftp_close($conn_id); -?> -]]> - </programlisting> - </example> - </para> - </section> - - </partintro> - -&reference.ftp.entities.functions; - -</reference> -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.2 Maintainer: krid Status: ready --> + +<reference xml:id="ref.ftp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>FTP &Functions;</title> + + &reference.ftp.entities.functions; + +</reference> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=xml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/book.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/ftp/book.xml +++ phpdoc-de/reference/ftp/book.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: krid Status: ready --> <book xml:id="book.ftp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>FTP</title> <!-- {{{ preface --> <preface xml:id="intro.ftp"> &reftitle.intro; <para> Die Funktionen dieser Erweiterung implementieren den Zugriff auf Server über das File Transfer Protocol (FTP), wie unter <link xlink:href="&url.rfc;959">&url.rfc;959</link> definiert. Wenn Sie ausschließlich eine Datei von einem FTP-Server lesen oder Schreiben wollen, sollten Sie die Verwendung der <link linkend="wrappers.ftp"><literal>ftp://</literal> Wrapper</link> zusammen mit den <link linkend="ref.filesystem">Filesystem Funktionen</link> in Betracht ziehen. Dies ermöglicht einen einfacheren und intuitivere Zugriff. </para> </preface> <!-- }}} --> &reference.ftp.setup; &reference.ftp.constants; &reference.ftp.examples; &reference.ftp.reference; </book> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/examples.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/ftp/examples.xml +++ phpdoc-de/reference/ftp/examples.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: krid Status: ready --> <chapter xml:id="ftp.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; <section xml:id="ftp.examples-basic"> <para> <example> <title>FTP Beispiel</title> <programlisting role="php"> <![CDATA[ <?php // Verbindungsaufbau $conn_id = ftp_connect($ftp_server); // Login mit Username und Passwort $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); // Verbindung überprüfen if ((!$conn_id) || (!$login_result)) { echo "FTP Verbindung ist fehlgeschlagen!"; echo "Verbindungasufbau zu $ftp_server mit Username $ftp_user_name versucht."; exit; } else { echo "Verbunden zu $ftp_server mit Username $ftp_user_name"; } // Datei hochladen $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY); // Upload überprüfen if (!$upload) { echo "FTP-Upload ist fehlgeschlagen!"; } else { echo "Datei $source_file auf Server $ftp_server als $destination_file hochgeladen"; } // FTP Verbidung schlieÃen ftp_close($conn_id); ?> ]]> </programlisting> </example> </para> </section> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=xml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/setup.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/ftp/setup.xml +++ phpdoc-de/reference/ftp/setup.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <chapter xml:id="ftp.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; <!-- {{{ Requirements --> <section xml:id="ftp.requirements"> &reftitle.required; &no.requirement; </section> <!-- }}} --> <!-- {{{ Installation --> &reference.ftp.configure; <!-- }}} --> <!-- {{{ Configuration --> <section xml:id="ftp.configuration"> &reftitle.runtime; &no.config; </section> <!-- }}} --> <!-- {{{ Resources --> <section xml:id="ftp.resources"> &reftitle.resources; <para> Diese Erweiterung verwendet ausschlieÃlich einen Resourcen-Typ und zwar den Link-Identifier der FTP-Connection, der von <function>ftp_connect</function> und <function>ftp_ssl_connect</function> zurückgeliefert wird. </para> </section> <!-- }}} --> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->