cvs: phpdoc-fr /appendices tokens.xml /language/oop5 iterations.xml /reference/apd/functions apd-continue.xml apd-echo.xml
/reference/array/functions array-key-exists.xml /reference/classkit/functions classkit-method-remove.xml /reference/domxml/functions
DomElement-get-attribute.xml DomElement-has-attribute.xml /reference/errorfunc/functions set-exception-handler.xml /reference/filesystem/functions
fseek.xml /reference/ming/functions swfmovie.streammp3.xml /reference/misc/functions uniqid.xml /reference/parsekit/functions
parsekit-compile-file.xml parsekit-func-arginfo.xml /reference/soap/functions is-soap-fault.xml /reference/var/functions serialize.xml /security
database.xml

From: Date: Mon, 08 Nov 2004 19:52:42 +0000
Subject: cvs: phpdoc-fr /appendices tokens.xml /language/oop5 iterations.xml /reference/apd/functions apd-continue.xml apd-echo.xml
/reference/array/functions array-key-exists.xml /reference/classkit/functions classkit-method-remove.xml /reference/domxml/functions
DomElement-get-attribute.xml DomElement-has-attribute.xml /reference/errorfunc/functions set-exception-handler.xml /reference/filesystem/functions
fseek.xml /reference/ming/functions swfmovie.streammp3.xml /reference/misc/functions uniqid.xml /reference/parsekit/functions
parsekit-compile-file.xml parsekit-func-arginfo.xml /reference/soap/functions is-soap-fault.xml /reference/var/functions serialize.xml /security
database.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3620@lists.php.net to get a copy of this message
yannick Mon Nov 8 14:52:42 2004 EDT Modified files: /phpdoc-fr/appendices tokens.xml /phpdoc-fr/language/oop5 iterations.xml /phpdoc-fr/reference/apd/functions apd-continue.xml apd-echo.xml /phpdoc-fr/reference/array/functions array-key-exists.xml /phpdoc-fr/reference/classkit/functions classkit-method-remove.xml /phpdoc-fr/reference/domxml/functions DomElement-get-attribute.xml DomElement-has-attribute.xml /phpdoc-fr/reference/errorfunc/functions set-exception-handler.xml /phpdoc-fr/reference/filesystem/functions fseek.xml /phpdoc-fr/reference/ming/functions swfmovie.streammp3.xml /phpdoc-fr/reference/misc/functions uniqid.xml /phpdoc-fr/reference/parsekit/functions parsekit-compile-file.xml parsekit-func-arginfo.xml /phpdoc-fr/reference/soap/functions is-soap-fault.xml /phpdoc-fr/reference/var/functions serialize.xml /phpdoc-fr/security database.xml Log: sync with EN

http://cvs.php.net/diff.php/phpdoc-fr/appendices/tokens.xml?r1=1.16&r2=1.17&ty=u Index: phpdoc-fr/appendices/tokens.xml diff -u phpdoc-fr/appendices/tokens.xml:1.16 phpdoc-fr/appendices/tokens.xml:1.17 --- phpdoc-fr/appendices/tokens.xml:1.16 Mon Oct 25 13:50:51 2004 +++ phpdoc-fr/appendices/tokens.xml Mon Nov 8 14:52:38 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.16 Maintainer: didou Status: ready --> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.17 Maintainer: didou Status: ready --> <appendix id="tokens"> <title>Liste des token de l'analyseur</title> @@ -88,6 +88,11 @@ <entry><link linkend="language.oop">classes et objets</link></entry> </row> <row> + <entry>T_CLONE</entry> + <entry>clone</entry> + <entry><link linkend="language.oop5">classes et objets</link>. &php; 5 uniquement.</entry> + </row> + <row> <entry>T_CLOSE_TAG</entry> <entry>?> ou %></entry> <entry></entry> @@ -452,6 +457,21 @@ <entry><function>print</function></entry> </row> <row> + <entry>T_PRIVATE</entry> + <entry>private</entry> + <entry><link linkend="language.oop5">classes et objets</link>. &php; 5 uniquement.</entry> + </row> + <row> + <entry>T_PUBLIC</entry> + <entry>public</entry> + <entry><link linkend="language.oop5">classes et objets</link>. &php; 5 uniquement.</entry> + </row> + <row> + <entry>T_PROTECTED</entry> + <entry>protected</entry> + <entry><link linkend="language.oop5">classes et objets</link>. &php; 5 uniquement.</entry> + </row> + <row> <entry>T_REQUIRE</entry> <entry>require()</entry> <entry><function>require</function></entry> http://cvs.php.net/diff.php/phpdoc-fr/language/oop5/iterations.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/language/oop5/iterations.xml diff -u phpdoc-fr/language/oop5/iterations.xml:1.5 phpdoc-fr/language/oop5/iterations.xml:1.6 --- phpdoc-fr/language/oop5/iterations.xml:1.5 Sat Oct 30 17:23:31 2004 +++ phpdoc-fr/language/oop5/iterations.xml Mon Nov 8 14:52:40 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <sect1 id="language.oop5.iterations"> <title>Les Itération</title> <para> @@ -40,7 +40,7 @@ foreach($class as $key => $value) { print "$key => $value\n"; } -echo "\n" +echo "\n"; $class->iterateVisible(); http://cvs.php.net/diff.php/phpdoc-fr/reference/apd/functions/apd-continue.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-fr/reference/apd/functions/apd-continue.xml diff -u phpdoc-fr/reference/apd/functions/apd-continue.xml:1.3 phpdoc-fr/reference/apd/functions/apd-continue.xml:1.4 --- phpdoc-fr/reference/apd/functions/apd-continue.xml:1.3 Tue Aug 17 01:34:03 2004 +++ phpdoc-fr/reference/apd/functions/apd-continue.xml Mon Nov 8 14:52:40 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="function.apd-continue"> <refnamediv> <refname>apd_continue</refname> @@ -22,7 +22,7 @@ <programlisting role="php"> <![CDATA[ <?php ->apd_continue(0); +apd_continue(0); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/apd/functions/apd-echo.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/apd/functions/apd-echo.xml diff -u phpdoc-fr/reference/apd/functions/apd-echo.xml:1.6 phpdoc-fr/reference/apd/functions/apd-echo.xml:1.7 --- phpdoc-fr/reference/apd/functions/apd-echo.xml:1.6 Wed Sep 1 10:28:04 2004 +++ phpdoc-fr/reference/apd/functions/apd-echo.xml Mon Nov 8 14:52:40 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.apd-echo"> <refnamediv> <refname>apd_echo</refname> @@ -22,7 +22,7 @@ <programlisting role="php"> <![CDATA[ <?php ->apd_echo($i); +apd_echo($i); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/array/functions/array-key-exists.xml?r1=1.15&r2=1.16&ty=u Index: phpdoc-fr/reference/array/functions/array-key-exists.xml diff -u phpdoc-fr/reference/array/functions/array-key-exists.xml:1.15 phpdoc-fr/reference/array/functions/array-key-exists.xml:1.16 --- phpdoc-fr/reference/array/functions/array-key-exists.xml:1.15 Mon Nov 1 12:34:48 2004 +++ phpdoc-fr/reference/array/functions/array-key-exists.xml Mon Nov 8 14:52:40 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.10 Maintainer: didou Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.11 Maintainer: didou Status: ready --> <refentry id="function.array-key-exists"> <refnamediv> <refname>array_key_exists</refname> @@ -54,7 +54,7 @@ $search_array = array('premier' => null, 'second' => 4); // retourne false -isset($search_array['first']) +isset($search_array['first']); // retourne true array_key_exists('premier', $search_array); http://cvs.php.net/diff.php/phpdoc-fr/reference/classkit/functions/classkit-method-remove.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-fr/reference/classkit/functions/classkit-method-remove.xml diff -u phpdoc-fr/reference/classkit/functions/classkit-method-remove.xml:1.3 phpdoc-fr/reference/classkit/functions/classkit-method-remove.xml:1.4 --- phpdoc-fr/reference/classkit/functions/classkit-method-remove.xml:1.3 Wed Aug 25 03:05:25 2004 +++ phpdoc-fr/reference/classkit/functions/classkit-method-remove.xml Mon Nov 8 14:52:40 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="function.classkit-method-remove"> <refnamediv> <refname>classkit_method_remove</refname> @@ -71,7 +71,6 @@ ); echo implode(' ', get_class_methods('Example')); -} ?> ]]> http://cvs.php.net/diff.php/phpdoc-fr/reference/domxml/functions/DomElement-get-attribute.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/domxml/functions/DomElement-get-attribute.xml diff -u phpdoc-fr/reference/domxml/functions/DomElement-get-attribute.xml:1.6 phpdoc-fr/reference/domxml/functions/DomElement-get-attribute.xml:1.7 --- phpdoc-fr/reference/domxml/functions/DomElement-get-attribute.xml:1.6 Mon Nov 1 16:18:17 2004 +++ phpdoc-fr/reference/domxml/functions/DomElement-get-attribute.xml Mon Nov 8 14:52:40 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> <refentry id="function.domelement-get-attribute"> <refnamediv> <refname>DomElement->get_attribute</refname> @@ -38,7 +38,7 @@ // get chapter $root = $dom->document_element(); -echo $root->get_attribute('language')); // en +echo $root->get_attribute('language'); // en ?> ]]> http://cvs.php.net/diff.php/phpdoc-fr/reference/domxml/functions/DomElement-has-attribute.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/domxml/functions/DomElement-has-attribute.xml diff -u phpdoc-fr/reference/domxml/functions/DomElement-has-attribute.xml:1.5 phpdoc-fr/reference/domxml/functions/DomElement-has-attribute.xml:1.6 --- phpdoc-fr/reference/domxml/functions/DomElement-has-attribute.xml:1.5 Mon Nov 1 16:18:17 2004 +++ phpdoc-fr/reference/domxml/functions/DomElement-has-attribute.xml Mon Nov 8 14:52:40 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> <refentry id="function.domelement-has-attribute"> <refnamediv> <refname>DomElement->has_attribute</refname> @@ -32,7 +32,7 @@ $root = $dom->document_element(); -$buffer = '<html' +$buffer = '<html'; if ($root->has_attribute('language')) { $buffer .= 'lang="' . $root->get_attribute('language') . '"'; } http://cvs.php.net/diff.php/phpdoc-fr/reference/errorfunc/functions/set-exception-handler.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-fr/reference/errorfunc/functions/set-exception-handler.xml diff -u phpdoc-fr/reference/errorfunc/functions/set-exception-handler.xml:1.4 phpdoc-fr/reference/errorfunc/functions/set-exception-handler.xml:1.5 --- phpdoc-fr/reference/errorfunc/functions/set-exception-handler.xml:1.4 Mon Nov 1 16:49:02 2004 +++ phpdoc-fr/reference/errorfunc/functions/set-exception-handler.xml Mon Nov 8 14:52:40 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.set-exception-handler"> <refnamediv> <refname>set_exception_handler</refname> @@ -80,6 +80,7 @@ throw new Exception('Uncaught Exception'); echo "Non exécuté\n"; +?> ]]> </programlisting> </example> http://cvs.php.net/diff.php/phpdoc-fr/reference/filesystem/functions/fseek.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/filesystem/functions/fseek.xml diff -u phpdoc-fr/reference/filesystem/functions/fseek.xml:1.9 phpdoc-fr/reference/filesystem/functions/fseek.xml:1.10 --- phpdoc-fr/reference/filesystem/functions/fseek.xml:1.9 Sat Aug 7 14:23:33 2004 +++ phpdoc-fr/reference/filesystem/functions/fseek.xml Mon Nov 8 14:52:41 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.9 Maintainer: dams Status: ready --> <refentry id="function.fseek"> <refnamediv> <refname>fseek</refname> http://cvs.php.net/diff.php/phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml diff -u phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml:1.11 phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml:1.12 --- phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml:1.11 Thu Oct 28 12:06:13 2004 +++ phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml Mon Nov 8 14:52:41 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.swfmovie.streammp3"> <refnamediv> @@ -42,7 +42,7 @@ <?php $m = new SWFMovie(); $m->setRate(12.0); -$m->streamMp3(file_get_contents("distortobass.mp3"))); +$m->streamMp3(file_get_contents("distortobass.mp3")); // utilisez vos propres MP3 // assurez-vous d'avoir les droits // 11.85 secondes avec 12.0 images par seconde = 142 frames http://cvs.php.net/diff.php/phpdoc-fr/reference/misc/functions/uniqid.xml?r1=1.14&r2=1.15&ty=u Index: phpdoc-fr/reference/misc/functions/uniqid.xml diff -u phpdoc-fr/reference/misc/functions/uniqid.xml:1.14 phpdoc-fr/reference/misc/functions/uniqid.xml:1.15 --- phpdoc-fr/reference/misc/functions/uniqid.xml:1.14 Fri Aug 20 18:17:29 2004 +++ phpdoc-fr/reference/misc/functions/uniqid.xml Mon Nov 8 14:52:41 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.7 Maintainer: dams Status: partial --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.8 Maintainer: dams Status: partial --> <!-- Reviewed: yes --> <refentry id="function.uniqid"> <refnamediv> @@ -38,7 +38,7 @@ </simpara> <note> <simpara> - Le paramètre <parameter>more_entropy</parameter> a été introduit depuis &php; 3.0.13. + Le paramètre <parameter>prefix</parameter> est devenu optionnel en &php; 5. </simpara> </note> <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/parsekit/functions/parsekit-compile-file.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-fr/reference/parsekit/functions/parsekit-compile-file.xml diff -u phpdoc-fr/reference/parsekit/functions/parsekit-compile-file.xml:1.2 phpdoc-fr/reference/parsekit/functions/parsekit-compile-file.xml:1.3 --- phpdoc-fr/reference/parsekit/functions/parsekit-compile-file.xml:1.2 Sat Aug 28 05:53:01 2004 +++ phpdoc-fr/reference/parsekit/functions/parsekit-compile-file.xml Mon Nov 8 14:52:41 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.parsekit-compile-file"> <refnamediv> <refname>parsekit_compile_file</refname> @@ -58,7 +58,7 @@ comme ci-dessous. </para> </refsect1> - <!-- No changelog: it's only in PECL. --> + <refsect1> &reftitle.examples; <para> @@ -68,6 +68,7 @@ <![CDATA[ <?php var_dump(parsekit_compile_file('bonjour_le_monde.php', $errors, PARSEKIT_SIMPLE)); +?> ]]> </programlisting> &example.outputs; http://cvs.php.net/diff.php/phpdoc-fr/reference/parsekit/functions/parsekit-func-arginfo.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-fr/reference/parsekit/functions/parsekit-func-arginfo.xml diff -u phpdoc-fr/reference/parsekit/functions/parsekit-func-arginfo.xml:1.1 phpdoc-fr/reference/parsekit/functions/parsekit-func-arginfo.xml:1.2 --- phpdoc-fr/reference/parsekit/functions/parsekit-func-arginfo.xml:1.1 Thu Aug 26 17:30:53 2004 +++ phpdoc-fr/reference/parsekit/functions/parsekit-func-arginfo.xml Mon Nov 8 14:52:41 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="function.parsekit-func-arginfo"> <refnamediv> <refname>parsekit_func_arginfo</refname> @@ -48,6 +48,7 @@ } var_dump(parsekit_func_arginfo('foo')); +?> ]]> </programlisting> &example.outputs; http://cvs.php.net/diff.php/phpdoc-fr/reference/soap/functions/is-soap-fault.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/soap/functions/is-soap-fault.xml diff -u phpdoc-fr/reference/soap/functions/is-soap-fault.xml:1.7 phpdoc-fr/reference/soap/functions/is-soap-fault.xml:1.8 --- phpdoc-fr/reference/soap/functions/is-soap-fault.xml:1.7 Wed Sep 1 08:31:57 2004 +++ phpdoc-fr/reference/soap/functions/is-soap-fault.xml Mon Nov 8 14:52:41 2004 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.6 Maintainer: dams Status: partial --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: dams Status: ready --> <refentry id="function.is-soap-fault"> <refnamediv> <refname>is_soap_fault</refname> @@ -52,7 +52,7 @@ <?php try { $client = new SoapClient("some.wsdl"); - $result = $client->SomeFunction(); + $result = $client->SomeFunction(/* ... */); } catch (SoapFault $fault) { trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_ERROR); } http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/serialize.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/var/functions/serialize.xml diff -u phpdoc-fr/reference/var/functions/serialize.xml:1.10 phpdoc-fr/reference/var/functions/serialize.xml:1.11 --- phpdoc-fr/reference/var/functions/serialize.xml:1.10 Sat Aug 28 16:42:25 2004 +++ phpdoc-fr/reference/var/functions/serialize.xml Mon Nov 8 14:52:41 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <refentry id="function.serialize"> <refnamediv> <refname>serialize</refname> @@ -37,16 +37,11 @@ De même, lorsque l'objet est restauré en utilisant <function>unserialize</function>, la fonction membre <function>__wakeup</function> est appelée. </simpara> - <!-- <note> <simpara> - Ce commentaire existe en EN. Merci de laisser les balises note et simpara originales - du commentaire pour ne pas induire en erreur les scripts de check du nombres de balises. - Yannick + Ceci ne fonctionne pas correctement avant la version 4.0.7. </simpara> </note> - </simpara> - --> <note> <para> En &php; 3, les propriétés de l'objet seront linéarisées, mais les méthodes seront perdues. @@ -55,6 +50,9 @@ linkend="language.oop.serialization">linéarisations d'objets</link> des <link linkend="language.oop">classes et objets</link> pour plus d'informations. </para> + <para> + Il n'est pas possible de linéariser les objets internes de &php;. + </para> </note> <para> <example> http://cvs.php.net/diff.php/phpdoc-fr/security/database.xml?r1=1.15&r2=1.16&ty=u Index: phpdoc-fr/security/database.xml diff -u phpdoc-fr/security/database.xml:1.15 phpdoc-fr/security/database.xml:1.16 --- phpdoc-fr/security/database.xml:1.15 Sat Oct 30 16:04:01 2004 +++ phpdoc-fr/security/database.xml Mon Nov 8 14:52:41 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.9 Maintainer: dams Status: ready --> <chapter id="security.database"> <title>Sécurité des bases de données</title> <simpara> @@ -165,7 +165,7 @@ </title> <programlisting role="php"> <![CDATA[ -$offset = argv[0]; // Attention, aucune validation! +$offset = $argv[0]; // Attention, aucune validation! $query = "SELECT id, name FROM products ORDER BY name LIMIT 20 OFFSET $offset;"; // avec PostgreSQL $result = pg_query($conn, $query);
« previous php.doc.fr (#3620) next »