cvs: phpdoc-fr / language-snippets.ent /language constants.xml control-structures.xml functions.xml oop5.xml variables.xml
/reference/filesystem/functions glob.xml /reference/network/functions setcookie.xml setrawcookie.xml /reference/session ini.xml
/reference/session/functions session-get-cookie-params.xml session-set-cookie-params.xml /reference/tidy/functions tidy-setopt.xml
| From: | Yannick Torres | Date: | Fri, 11 Aug 2006 17:07:17 +0000 |
| Subject: | cvs: phpdoc-fr / language-snippets.ent /language constants.xml control-structures.xml functions.xml oop5.xml variables.xml /reference/filesystem/functions glob.xml /reference/network/functions setcookie.xml setrawcookie.xml /reference/session ini.xml /reference/session/functions session-get-cookie-params.xml session-set-cookie-params.xml /reference/tidy/functions tidy-setopt.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-4984@lists.php.net to get a copy of this message | ||
yannick Fri Aug 11 17:07:17 2006 UTC
Modified files:
/phpdoc-fr/language constants.xml control-structures.xml
functions.xml oop5.xml variables.xml
/phpdoc-fr language-snippets.ent
/phpdoc-fr/reference/filesystem/functions glob.xml
/phpdoc-fr/reference/network/functions setcookie.xml
setrawcookie.xml
/phpdoc-fr/reference/session/functions
session-get-cookie-params.xml
session-set-cookie-params.xml
/phpdoc-fr/reference/session ini.xml
/phpdoc-fr/reference/tidy/functions tidy-setopt.xml
Log:
sync with EN
http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/constants.xml?r1=1.41&r2=1.42&diff_format=u Index: phpdoc-fr/language/constants.xml diff -u phpdoc-fr/language/constants.xml:1.41 phpdoc-fr/language/constants.xml:1.42 --- phpdoc-fr/language/constants.xml:1.41 Mon Jun 19 19:51:42 2006 +++ phpdoc-fr/language/constants.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.41 $ --> -<!-- EN-Revision: 1.45 Maintainer: dams Status: ready --> +<!-- $Revision: 1.42 $ --> +<!-- EN-Revision: 1.47 Maintainer: dams Status: ready --> <chapter id="language.constants"> <title>Les constantes</title> @@ -21,6 +21,7 @@ régulière, cela peut s'exprimer comme ceci : <literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal> </para> + &tip.userlandnaming; <para> <example> <title>Noms valides et invalides pour les constantes</title> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/control-structures.xml?r1=1.81&r2=1.82&diff_format=u Index: phpdoc-fr/language/control-structures.xml diff -u phpdoc-fr/language/control-structures.xml:1.81 phpdoc-fr/language/control-structures.xml:1.82 --- phpdoc-fr/language/control-structures.xml:1.81 Sat May 13 00:43:43 2006 +++ phpdoc-fr/language/control-structures.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.81 $ --> -<!-- EN-Revision: 1.133 Maintainer: dams Status: ready --> +<!-- $Revision: 1.82 $ --> +<!-- EN-Revision: 1.134 Maintainer: dams Status: ready --> <chapter id="language.control-structures"> <title>Les structures de contrôle</title> @@ -1523,37 +1523,6 @@ <function>fopen</function> et <function>file</function> pour des informations reliées. </para> - <para> - Comme <function>include</function> et <function>require</function> - sont des structures du langage particulières, vous devez les - placer dans un bloc s'ils sont placés dans un bloc conditionnel. - </para> - <para> - <example> - <title><function>include</function> et les conditions</title> - <programlisting role="php"> -<![CDATA[ -<?php - -// Ceci est FAUX et échouera -if ($condition) - include $file; -else - include $other; - - -// Ceci est CORRECT. -if ($condition) { - include $file; -} else { - include $other; -} - -?> -]]> - </programlisting> - </example> - </para> <simpara> Gestion du retour : il est possible d'exécuter une commande <function>return</function> dans un fichier inclus pour en @@ -1869,4 +1838,4 @@ sgml-local-catalogs:nil sgml-local-ecat-files:nil End: - --> + --> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/functions.xml?r1=1.40&r2=1.41&diff_format=u Index: phpdoc-fr/language/functions.xml diff -u phpdoc-fr/language/functions.xml:1.40 phpdoc-fr/language/functions.xml:1.41 --- phpdoc-fr/language/functions.xml:1.40 Fri Jan 6 03:46:42 2006 +++ phpdoc-fr/language/functions.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.40 $ --> -<!-- EN-Revision: 1.60 Maintainer: dams Status: ready --> +<!-- $Revision: 1.41 $ --> +<!-- EN-Revision: 1.62 Maintainer: dams Status: ready --> <chapter id="language.functions"> <title>Les fonctions</title> @@ -39,6 +39,7 @@ Ces règles peuvent être représentées par l'expression rationnelle suivante : <literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal>. </para> + &tip.userlandnaming; <simpara> En &php; 3, les fonctions doivent être définies avant qu'elles ne soient utilisées. Ce n'est plus le cas depuis &php; 4. http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/oop5.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/language/oop5.xml diff -u phpdoc-fr/language/oop5.xml:1.9 phpdoc-fr/language/oop5.xml:1.10 --- phpdoc-fr/language/oop5.xml:1.9 Wed Jan 5 22:27:03 2005 +++ phpdoc-fr/language/oop5.xml Fri Aug 11 17:07:17 2006 @@ -1,38 +1,40 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> - <chapter id="language.oop5"> - <title>Les classes et les objets (&php; 5)</title> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> - <sect1 id="op5.intro"> - &reftitle.intro; - <para> - En &php; 5, il y a un tout nouveau model objet. La gestion des objets en &php; - a été complètement réécrite, permettant de meilleurs performances ainsi - que plus de fonctionnalités. - </para> - </sect1> +<chapter id="language.oop5"> + <title>Les classes et les objets (&php; 5)</title> - &language.oop5.basic; - &language.oop5.autoload; - &language.oop5.decon; - &language.oop5.visibility; - &language.oop5.paamayim-nekudotayim; - &language.oop5.static; - &language.oop5.constants; - &language.oop5.abstract; - &language.oop5.interfaces; - &language.oop5.overloading; - &language.oop5.iterations; - &language.oop5.patterns; - &language.oop5.magic; - &language.oop5.final; - &language.oop5.cloning; - &language.oop5.object-comparison; - &language.oop5.reflection; - &language.oop5.typehinting; + <sect1 id="op5.intro"> + &reftitle.intro; + <para> + En &php; 5, il y a un tout nouveau model objet. La gestion des objets en &php; + a été complètement réécrite, permettant de meilleurs performances ainsi + que plus de fonctionnalités. + </para> + &tip.userlandnaming; + </sect1> + + &language.oop5.basic; + &language.oop5.autoload; + &language.oop5.decon; + &language.oop5.visibility; + &language.oop5.paamayim-nekudotayim; + &language.oop5.static; + &language.oop5.constants; + &language.oop5.abstract; + &language.oop5.interfaces; + &language.oop5.overloading; + &language.oop5.iterations; + &language.oop5.patterns; + &language.oop5.magic; + &language.oop5.final; + &language.oop5.cloning; + &language.oop5.object-comparison; + &language.oop5.reflection; + &language.oop5.typehinting; </chapter> - + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -52,4 +54,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/variables.xml?r1=1.75&r2=1.76&diff_format=u Index: phpdoc-fr/language/variables.xml diff -u phpdoc-fr/language/variables.xml:1.75 phpdoc-fr/language/variables.xml:1.76 --- phpdoc-fr/language/variables.xml:1.75 Fri Jan 6 04:30:30 2006 +++ phpdoc-fr/language/variables.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.75 $ --> -<!-- EN-Revision: 1.90 Maintainer: dams Status: ready --> +<!-- $Revision: 1.76 $ --> +<!-- EN-Revision: 1.92 Maintainer: dams Status: ready --> <chapter id="language.variables"> <title>Les variables</title> @@ -31,7 +31,8 @@ </simpara> </note> - + &tip.userlandnaming; + <para> Pour obtenir des informations sur une variable, voyez les fonctions dédiées aux <link linkend="ref.var">variables</link>. http://cvs.php.net/viewvc.cgi/phpdoc-fr/language-snippets.ent?r1=1.150&r2=1.151&diff_format=u Index: phpdoc-fr/language-snippets.ent diff -u phpdoc-fr/language-snippets.ent:1.150 phpdoc-fr/language-snippets.ent:1.151 --- phpdoc-fr/language-snippets.ent:1.150 Fri Aug 4 22:14:25 2006 +++ phpdoc-fr/language-snippets.ent Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.150 $ --> -<!-- EN-Revision: 1.171 Maintainer: dams Status: ready --> +<!-- $Revision: 1.151 $ --> +<!-- EN-Revision: 1.172 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <!-- @@ -107,10 +107,11 @@ des sorties</link> pour capturer le contenu de cette fonction et le sauver, par exemple, dans une chaîne.</simpara></tip>'> +<!ENTITY tip.userlandnaming '<tip><simpara>Vous pourriez également avoir +besoin de jeter un oeil sur <xref linkend="userlandnaming" />.</simpara></tip>'> <!-- Warnings --> - <!ENTITY warn.escapeshell '<warning><para>Si vous allez passer des données provenant de l'utilisateur à cette fonction, vous devez utiliser <function>escapeshellarg</function> ou <function>escapeshellcmd</function> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filesystem/functions/glob.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/filesystem/functions/glob.xml diff -u phpdoc-fr/reference/filesystem/functions/glob.xml:1.13 phpdoc-fr/reference/filesystem/functions/glob.xml:1.14 --- phpdoc-fr/reference/filesystem/functions/glob.xml:1.13 Wed Jun 22 21:02:29 2005 +++ phpdoc-fr/reference/filesystem/functions/glob.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.19 Maintainer: dams Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.20 Maintainer: dams Status: ready --> + <refentry id="function.glob"> <refnamediv> <refname>glob</refname> @@ -68,13 +69,8 @@ <listitem> <simpara> <constant>GLOB_ERR</constant> : Stop lors d'une erreur (comme des dossiers non lisibles), - par défaut, les erreurs sont ignorées + par défaut, les erreurs sont ignorées. Ajouté en &php; 5.1. </simpara> - <note> - <simpara> - <constant>GLOB_ERR</constant> a été ajouté en &php; 5.1. - </simpara> - </note> </listitem> </itemizedlist> </para> @@ -94,7 +90,7 @@ ?> ]]> </programlisting> - &example.outputs; + &example.outputs.similar; <screen> <![CDATA[ funclist.txt occupe 44686 octets @@ -104,9 +100,14 @@ </screen> </example> </para> - + ¬e.no-remote; - + <note> + <simpara> + Cette fonction n'est pas disponible sur quelques systèmes (e.g. vieux Sun OS). + </simpara> + </note> + <para> Voir aussi <function>opendir</function>, @@ -136,4 +137,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/network/functions/setcookie.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/network/functions/setcookie.xml diff -u phpdoc-fr/reference/network/functions/setcookie.xml:1.1 phpdoc-fr/reference/network/functions/setcookie.xml:1.2 --- phpdoc-fr/reference/network/functions/setcookie.xml:1.1 Sun Aug 6 12:52:41 2006 +++ phpdoc-fr/reference/network/functions/setcookie.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="function.setcookie"> <refnamediv> @@ -17,6 +17,7 @@ <methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>domain</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>secure</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>httponly</parameter></methodparam> </methodsynopsis> <para> <function>setcookie</function> définit un cookie qui sera envoyé @@ -137,9 +138,22 @@ La valeur par défaut est &false;. </entry> <entry> - &zero; ou &one; + &true; ou &false; </entry> </row> + <row> + <entry><parameter>httponly</parameter></entry> + <entry> + Lorsque ce paramètre vaut &true;, le cookie ne sera accessible que par le protocole + HTTP. Cela signifie que le cookie ne sera pas accessible via des langages de scripts, + comme Javascript. Cette configuration permet de limiter les attaques + via XSS (bien qu'elle ne soit pas supporté par tous les navigateurs). + Ajouté en &php; 5.2.0. + </entry> + <entry> + &true; or &false; + </entry> + </row> </tbody> </tgroup> </table> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/network/functions/setrawcookie.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/network/functions/setrawcookie.xml diff -u phpdoc-fr/reference/network/functions/setrawcookie.xml:1.1 phpdoc-fr/reference/network/functions/setrawcookie.xml:1.2 --- phpdoc-fr/reference/network/functions/setrawcookie.xml:1.1 Sun Aug 6 12:52:41 2006 +++ phpdoc-fr/reference/network/functions/setrawcookie.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="function.setrawcookie"> <refnamediv> @@ -17,12 +17,18 @@ <methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>domain</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>secure</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>httponly</parameter></methodparam> </methodsynopsis> <para> <function>setrawcookie</function> est exactement la même que <function>setcookie</function> excepté que la valeur du cookie ne sera pas automatiquement encodée URL lors de l'envoi au navigateur. </para> + <note> + <para> + La paramètre <parameter>httponly</parameter> a été ajouté en &php; 5.2.0. + </para> + </note> <para> Voir aussi <function>header</function>, http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/session/functions/session-get-cookie-params.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/session/functions/session-get-cookie-params.xml diff -u phpdoc-fr/reference/session/functions/session-get-cookie-params.xml:1.12 phpdoc-fr/reference/session/functions/session-get-cookie-params.xml:1.13 --- phpdoc-fr/reference/session/functions/session-get-cookie-params.xml:1.12 Sat May 14 17:53:54 2005 +++ phpdoc-fr/reference/session/functions/session-get-cookie-params.xml Fri Aug 11 17:07:17 2006 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> + <refentry id="function.session-get-cookie-params"> <refnamediv> <refname>session_get_cookie_params</refname> @@ -41,6 +42,11 @@ sécurisées (cet élément a été ajouté en &php; 4.0.4). </simpara> </listitem> + <listitem> + <simpara> + "httponly" - Le cookie ne sera accessible que via le protocole HTTP (cet élément a été ajouté en &php; 5.2.0.). + </simpara> + </listitem> </itemizedlist> </para> <para> @@ -48,7 +54,8 @@ <link linkend="ini.session.cookie-lifetime"><option>session.cookie_lifetime</option></link>, <link linkend="ini.session.cookie-path"><option>session.cookie_path</option></link>, <link linkend="ini.session.cookie-domain"><option>session.cookie_domain</option></link>, - <link linkend="ini.session.cookie-secure"><option>session.cookie_secure</option></link> et + <link linkend="ini.session.cookie-secure"><option>session.cookie_secure</option></link>, + <link linkend="ini.session.cookie-httponly">session.cookie_httponly</link> et <function>session_set_cookie_params</function>. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/session/functions/session-set-cookie-params.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/session/functions/session-set-cookie-params.xml diff -u phpdoc-fr/reference/session/functions/session-set-cookie-params.xml:1.12 phpdoc-fr/reference/session/functions/session-set-cookie-params.xml:1.13 --- phpdoc-fr/reference/session/functions/session-set-cookie-params.xml:1.12 Sat May 14 17:53:54 2005 +++ phpdoc-fr/reference/session/functions/session-set-cookie-params.xml Fri Aug 11 17:07:17 2006 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> + <refentry id="function.session-set-cookie-params"> <refnamediv> <refname>session_set_cookie_params</refname> @@ -11,13 +12,14 @@ </refnamediv> <refsect1> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>session_set_cookie_params</methodname> - <methodparam><type>int</type><parameter>lifetime</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>domain</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>secure</parameter></methodparam> - </methodsynopsis> + <methodsynopsis> + <type>void</type><methodname>session_set_cookie_params</methodname> + <methodparam><type>int</type><parameter>lifetime</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>domain</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>secure</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>httponly</parameter></methodparam> + </methodsynopsis> <para> <function>session_set_cookie_params</function> modifie les paramètres de configuration du cookie de session, qui a été configuré @@ -29,7 +31,7 @@ <note> <para> Le paramètre <parameter>secure</parameter> a été - ajouté en &php; 4.0.4. + ajouté en &php; 4.0.4, le paramètre <parameter>httponly</parameter> en &php; 5.2.0. </para> </note> <para> @@ -37,7 +39,8 @@ <link linkend="ini.session.cookie-lifetime"><option>session.cookie_lifetime</option></link>, <link linkend="ini.session.cookie-path"><option>session.cookie_path</option></link>, <link linkend="ini.session.cookie-domain"><option>session.cookie_domain</option></link>, - <link linkend="ini.session.cookie-secure"><option>session.cookie_secure</option></link> et + <link linkend="ini.session.cookie-secure"><option>session.cookie_secure</option></link>, + <link linkend="ini.session.cookie-httponly">session.cookie_httponly</link> et <function>session_get_cookie_params</function>. </para> </refsect1> @@ -62,4 +65,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/session/ini.xml?r1=1.36&r2=1.37&diff_format=u Index: phpdoc-fr/reference/session/ini.xml diff -u phpdoc-fr/reference/session/ini.xml:1.36 phpdoc-fr/reference/session/ini.xml:1.37 --- phpdoc-fr/reference/session/ini.xml:1.36 Fri Feb 10 01:28:36 2006 +++ phpdoc-fr/reference/session/ini.xml Fri Aug 11 17:07:17 2006 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.36 $ --> -<!-- EN-Revision: 1.40 Maintainer: dams Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.37 $ --> +<!-- EN-Revision: 1.41 Maintainer: dams Status: ready --> +<!-- Reviewed: no --> + <section id="session.configuration"> &reftitle.runtime; &extension.runtime; @@ -86,6 +87,12 @@ <entry>Disponible depuis &php; 4.0.4.</entry> </row> <row> + <entry>session.cookie_httponly</entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 5.2.0.</entry> + </row> + <row> <entry>session.use_cookies</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> @@ -504,6 +511,21 @@ </listitem> </varlistentry> + <varlistentry id="ini.session.cookie-httponly"> + <term> + <parameter>session.cookie_httponly</parameter> + <type>boolean</type> + </term> + <listitem> + <simpara> + Marque le cookie pour qu'il ne soit accessible que via le protocole HTTP. Cela signifie + que le cookie ne sera pas accessible par les langage de script, comme Javascript. + Cette configuration permet de limiter les attaques comme les attaques XSS (bien + qu'elle n'est pas supporté par tous les navigateurs). + </simpara> + </listitem> + </varlistentry> + <varlistentry id="ini.session.cache-limiter"> <term> <parameter>session.cache_limiter</parameter> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-setopt.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-setopt.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.8 phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.9 --- phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.8 Fri Nov 4 15:22:52 2005 +++ phpdoc-fr/reference/tidy/functions/tidy-setopt.xml Fri Aug 11 17:07:17 2006 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.tidy-setopt"> <refnamediv> <refname>tidy_setopt</refname> @@ -20,6 +21,8 @@ <function>tidy_setopt</function> configure l'option <parameter>option</parameter> avec la nouvelle valeur <parameter>value</parameter>. + Vous trouverez une liste des options de configuration sur : <ulink + url="&url.tidy.conf;">&url.tidy.conf;</ulink>. </para> <para> <example> @@ -38,7 +41,7 @@ </example> </para> <para> - Voir aussi + Voir aussi <function>tidy_getopt</function>, <function>tidy_get_config</function>, <function>tidy_reset_config</function> et @@ -67,4 +70,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file
http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/constants.xml?r1=1.41&r2=1.42&diff_format=u Index: phpdoc-fr/language/constants.xml diff -u phpdoc-fr/language/constants.xml:1.41 phpdoc-fr/language/constants.xml:1.42 --- phpdoc-fr/language/constants.xml:1.41 Mon Jun 19 19:51:42 2006 +++ phpdoc-fr/language/constants.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.41 $ --> -<!-- EN-Revision: 1.45 Maintainer: dams Status: ready --> +<!-- $Revision: 1.42 $ --> +<!-- EN-Revision: 1.47 Maintainer: dams Status: ready --> <chapter id="language.constants"> <title>Les constantes</title> @@ -21,6 +21,7 @@ régulière, cela peut s'exprimer comme ceci : <literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal> </para> + &tip.userlandnaming; <para> <example> <title>Noms valides et invalides pour les constantes</title> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/control-structures.xml?r1=1.81&r2=1.82&diff_format=u Index: phpdoc-fr/language/control-structures.xml diff -u phpdoc-fr/language/control-structures.xml:1.81 phpdoc-fr/language/control-structures.xml:1.82 --- phpdoc-fr/language/control-structures.xml:1.81 Sat May 13 00:43:43 2006 +++ phpdoc-fr/language/control-structures.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.81 $ --> -<!-- EN-Revision: 1.133 Maintainer: dams Status: ready --> +<!-- $Revision: 1.82 $ --> +<!-- EN-Revision: 1.134 Maintainer: dams Status: ready --> <chapter id="language.control-structures"> <title>Les structures de contrôle</title> @@ -1523,37 +1523,6 @@ <function>fopen</function> et <function>file</function> pour des informations reliées. </para> - <para> - Comme <function>include</function> et <function>require</function> - sont des structures du langage particulières, vous devez les - placer dans un bloc s'ils sont placés dans un bloc conditionnel. - </para> - <para> - <example> - <title><function>include</function> et les conditions</title> - <programlisting role="php"> -<![CDATA[ -<?php - -// Ceci est FAUX et échouera -if ($condition) - include $file; -else - include $other; - - -// Ceci est CORRECT. -if ($condition) { - include $file; -} else { - include $other; -} - -?> -]]> - </programlisting> - </example> - </para> <simpara> Gestion du retour : il est possible d'exécuter une commande <function>return</function> dans un fichier inclus pour en @@ -1869,4 +1838,4 @@ sgml-local-catalogs:nil sgml-local-ecat-files:nil End: - --> + --> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/functions.xml?r1=1.40&r2=1.41&diff_format=u Index: phpdoc-fr/language/functions.xml diff -u phpdoc-fr/language/functions.xml:1.40 phpdoc-fr/language/functions.xml:1.41 --- phpdoc-fr/language/functions.xml:1.40 Fri Jan 6 03:46:42 2006 +++ phpdoc-fr/language/functions.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.40 $ --> -<!-- EN-Revision: 1.60 Maintainer: dams Status: ready --> +<!-- $Revision: 1.41 $ --> +<!-- EN-Revision: 1.62 Maintainer: dams Status: ready --> <chapter id="language.functions"> <title>Les fonctions</title> @@ -39,6 +39,7 @@ Ces règles peuvent être représentées par l'expression rationnelle suivante : <literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal>. </para> + &tip.userlandnaming; <simpara> En &php; 3, les fonctions doivent être définies avant qu'elles ne soient utilisées. Ce n'est plus le cas depuis &php; 4. http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/oop5.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/language/oop5.xml diff -u phpdoc-fr/language/oop5.xml:1.9 phpdoc-fr/language/oop5.xml:1.10 --- phpdoc-fr/language/oop5.xml:1.9 Wed Jan 5 22:27:03 2005 +++ phpdoc-fr/language/oop5.xml Fri Aug 11 17:07:17 2006 @@ -1,38 +1,40 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> - <chapter id="language.oop5"> - <title>Les classes et les objets (&php; 5)</title> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> - <sect1 id="op5.intro"> - &reftitle.intro; - <para> - En &php; 5, il y a un tout nouveau model objet. La gestion des objets en &php; - a été complètement réécrite, permettant de meilleurs performances ainsi - que plus de fonctionnalités. - </para> - </sect1> +<chapter id="language.oop5"> + <title>Les classes et les objets (&php; 5)</title> - &language.oop5.basic; - &language.oop5.autoload; - &language.oop5.decon; - &language.oop5.visibility; - &language.oop5.paamayim-nekudotayim; - &language.oop5.static; - &language.oop5.constants; - &language.oop5.abstract; - &language.oop5.interfaces; - &language.oop5.overloading; - &language.oop5.iterations; - &language.oop5.patterns; - &language.oop5.magic; - &language.oop5.final; - &language.oop5.cloning; - &language.oop5.object-comparison; - &language.oop5.reflection; - &language.oop5.typehinting; + <sect1 id="op5.intro"> + &reftitle.intro; + <para> + En &php; 5, il y a un tout nouveau model objet. La gestion des objets en &php; + a été complètement réécrite, permettant de meilleurs performances ainsi + que plus de fonctionnalités. + </para> + &tip.userlandnaming; + </sect1> + + &language.oop5.basic; + &language.oop5.autoload; + &language.oop5.decon; + &language.oop5.visibility; + &language.oop5.paamayim-nekudotayim; + &language.oop5.static; + &language.oop5.constants; + &language.oop5.abstract; + &language.oop5.interfaces; + &language.oop5.overloading; + &language.oop5.iterations; + &language.oop5.patterns; + &language.oop5.magic; + &language.oop5.final; + &language.oop5.cloning; + &language.oop5.object-comparison; + &language.oop5.reflection; + &language.oop5.typehinting; </chapter> - + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -52,4 +54,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/variables.xml?r1=1.75&r2=1.76&diff_format=u Index: phpdoc-fr/language/variables.xml diff -u phpdoc-fr/language/variables.xml:1.75 phpdoc-fr/language/variables.xml:1.76 --- phpdoc-fr/language/variables.xml:1.75 Fri Jan 6 04:30:30 2006 +++ phpdoc-fr/language/variables.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.75 $ --> -<!-- EN-Revision: 1.90 Maintainer: dams Status: ready --> +<!-- $Revision: 1.76 $ --> +<!-- EN-Revision: 1.92 Maintainer: dams Status: ready --> <chapter id="language.variables"> <title>Les variables</title> @@ -31,7 +31,8 @@ </simpara> </note> - + &tip.userlandnaming; + <para> Pour obtenir des informations sur une variable, voyez les fonctions dédiées aux <link linkend="ref.var">variables</link>. http://cvs.php.net/viewvc.cgi/phpdoc-fr/language-snippets.ent?r1=1.150&r2=1.151&diff_format=u Index: phpdoc-fr/language-snippets.ent diff -u phpdoc-fr/language-snippets.ent:1.150 phpdoc-fr/language-snippets.ent:1.151 --- phpdoc-fr/language-snippets.ent:1.150 Fri Aug 4 22:14:25 2006 +++ phpdoc-fr/language-snippets.ent Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.150 $ --> -<!-- EN-Revision: 1.171 Maintainer: dams Status: ready --> +<!-- $Revision: 1.151 $ --> +<!-- EN-Revision: 1.172 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <!-- @@ -107,10 +107,11 @@ des sorties</link> pour capturer le contenu de cette fonction et le sauver, par exemple, dans une chaîne.</simpara></tip>'> +<!ENTITY tip.userlandnaming '<tip><simpara>Vous pourriez également avoir +besoin de jeter un oeil sur <xref linkend="userlandnaming" />.</simpara></tip>'> <!-- Warnings --> - <!ENTITY warn.escapeshell '<warning><para>Si vous allez passer des données provenant de l'utilisateur à cette fonction, vous devez utiliser <function>escapeshellarg</function> ou <function>escapeshellcmd</function> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filesystem/functions/glob.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/filesystem/functions/glob.xml diff -u phpdoc-fr/reference/filesystem/functions/glob.xml:1.13 phpdoc-fr/reference/filesystem/functions/glob.xml:1.14 --- phpdoc-fr/reference/filesystem/functions/glob.xml:1.13 Wed Jun 22 21:02:29 2005 +++ phpdoc-fr/reference/filesystem/functions/glob.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.19 Maintainer: dams Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.20 Maintainer: dams Status: ready --> + <refentry id="function.glob"> <refnamediv> <refname>glob</refname> @@ -68,13 +69,8 @@ <listitem> <simpara> <constant>GLOB_ERR</constant> : Stop lors d'une erreur (comme des dossiers non lisibles), - par défaut, les erreurs sont ignorées + par défaut, les erreurs sont ignorées. Ajouté en &php; 5.1. </simpara> - <note> - <simpara> - <constant>GLOB_ERR</constant> a été ajouté en &php; 5.1. - </simpara> - </note> </listitem> </itemizedlist> </para> @@ -94,7 +90,7 @@ ?> ]]> </programlisting> - &example.outputs; + &example.outputs.similar; <screen> <![CDATA[ funclist.txt occupe 44686 octets @@ -104,9 +100,14 @@ </screen> </example> </para> - + ¬e.no-remote; - + <note> + <simpara> + Cette fonction n'est pas disponible sur quelques systèmes (e.g. vieux Sun OS). + </simpara> + </note> + <para> Voir aussi <function>opendir</function>, @@ -136,4 +137,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/network/functions/setcookie.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/network/functions/setcookie.xml diff -u phpdoc-fr/reference/network/functions/setcookie.xml:1.1 phpdoc-fr/reference/network/functions/setcookie.xml:1.2 --- phpdoc-fr/reference/network/functions/setcookie.xml:1.1 Sun Aug 6 12:52:41 2006 +++ phpdoc-fr/reference/network/functions/setcookie.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="function.setcookie"> <refnamediv> @@ -17,6 +17,7 @@ <methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>domain</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>secure</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>httponly</parameter></methodparam> </methodsynopsis> <para> <function>setcookie</function> définit un cookie qui sera envoyé @@ -137,9 +138,22 @@ La valeur par défaut est &false;. </entry> <entry> - &zero; ou &one; + &true; ou &false; </entry> </row> + <row> + <entry><parameter>httponly</parameter></entry> + <entry> + Lorsque ce paramètre vaut &true;, le cookie ne sera accessible que par le protocole + HTTP. Cela signifie que le cookie ne sera pas accessible via des langages de scripts, + comme Javascript. Cette configuration permet de limiter les attaques + via XSS (bien qu'elle ne soit pas supporté par tous les navigateurs). + Ajouté en &php; 5.2.0. + </entry> + <entry> + &true; or &false; + </entry> + </row> </tbody> </tgroup> </table> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/network/functions/setrawcookie.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/network/functions/setrawcookie.xml diff -u phpdoc-fr/reference/network/functions/setrawcookie.xml:1.1 phpdoc-fr/reference/network/functions/setrawcookie.xml:1.2 --- phpdoc-fr/reference/network/functions/setrawcookie.xml:1.1 Sun Aug 6 12:52:41 2006 +++ phpdoc-fr/reference/network/functions/setrawcookie.xml Fri Aug 11 17:07:17 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="function.setrawcookie"> <refnamediv> @@ -17,12 +17,18 @@ <methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>domain</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>secure</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>httponly</parameter></methodparam> </methodsynopsis> <para> <function>setrawcookie</function> est exactement la même que <function>setcookie</function> excepté que la valeur du cookie ne sera pas automatiquement encodée URL lors de l'envoi au navigateur. </para> + <note> + <para> + La paramètre <parameter>httponly</parameter> a été ajouté en &php; 5.2.0. + </para> + </note> <para> Voir aussi <function>header</function>, http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/session/functions/session-get-cookie-params.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/session/functions/session-get-cookie-params.xml diff -u phpdoc-fr/reference/session/functions/session-get-cookie-params.xml:1.12 phpdoc-fr/reference/session/functions/session-get-cookie-params.xml:1.13 --- phpdoc-fr/reference/session/functions/session-get-cookie-params.xml:1.12 Sat May 14 17:53:54 2005 +++ phpdoc-fr/reference/session/functions/session-get-cookie-params.xml Fri Aug 11 17:07:17 2006 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> + <refentry id="function.session-get-cookie-params"> <refnamediv> <refname>session_get_cookie_params</refname> @@ -41,6 +42,11 @@ sécurisées (cet élément a été ajouté en &php; 4.0.4). </simpara> </listitem> + <listitem> + <simpara> + "httponly" - Le cookie ne sera accessible que via le protocole HTTP (cet élément a été ajouté en &php; 5.2.0.). + </simpara> + </listitem> </itemizedlist> </para> <para> @@ -48,7 +54,8 @@ <link linkend="ini.session.cookie-lifetime"><option>session.cookie_lifetime</option></link>, <link linkend="ini.session.cookie-path"><option>session.cookie_path</option></link>, <link linkend="ini.session.cookie-domain"><option>session.cookie_domain</option></link>, - <link linkend="ini.session.cookie-secure"><option>session.cookie_secure</option></link> et + <link linkend="ini.session.cookie-secure"><option>session.cookie_secure</option></link>, + <link linkend="ini.session.cookie-httponly">session.cookie_httponly</link> et <function>session_set_cookie_params</function>. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/session/functions/session-set-cookie-params.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/session/functions/session-set-cookie-params.xml diff -u phpdoc-fr/reference/session/functions/session-set-cookie-params.xml:1.12 phpdoc-fr/reference/session/functions/session-set-cookie-params.xml:1.13 --- phpdoc-fr/reference/session/functions/session-set-cookie-params.xml:1.12 Sat May 14 17:53:54 2005 +++ phpdoc-fr/reference/session/functions/session-set-cookie-params.xml Fri Aug 11 17:07:17 2006 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> + <refentry id="function.session-set-cookie-params"> <refnamediv> <refname>session_set_cookie_params</refname> @@ -11,13 +12,14 @@ </refnamediv> <refsect1> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>session_set_cookie_params</methodname> - <methodparam><type>int</type><parameter>lifetime</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>domain</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>secure</parameter></methodparam> - </methodsynopsis> + <methodsynopsis> + <type>void</type><methodname>session_set_cookie_params</methodname> + <methodparam><type>int</type><parameter>lifetime</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>domain</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>secure</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>httponly</parameter></methodparam> + </methodsynopsis> <para> <function>session_set_cookie_params</function> modifie les paramètres de configuration du cookie de session, qui a été configuré @@ -29,7 +31,7 @@ <note> <para> Le paramètre <parameter>secure</parameter> a été - ajouté en &php; 4.0.4. + ajouté en &php; 4.0.4, le paramètre <parameter>httponly</parameter> en &php; 5.2.0. </para> </note> <para> @@ -37,7 +39,8 @@ <link linkend="ini.session.cookie-lifetime"><option>session.cookie_lifetime</option></link>, <link linkend="ini.session.cookie-path"><option>session.cookie_path</option></link>, <link linkend="ini.session.cookie-domain"><option>session.cookie_domain</option></link>, - <link linkend="ini.session.cookie-secure"><option>session.cookie_secure</option></link> et + <link linkend="ini.session.cookie-secure"><option>session.cookie_secure</option></link>, + <link linkend="ini.session.cookie-httponly">session.cookie_httponly</link> et <function>session_get_cookie_params</function>. </para> </refsect1> @@ -62,4 +65,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/session/ini.xml?r1=1.36&r2=1.37&diff_format=u Index: phpdoc-fr/reference/session/ini.xml diff -u phpdoc-fr/reference/session/ini.xml:1.36 phpdoc-fr/reference/session/ini.xml:1.37 --- phpdoc-fr/reference/session/ini.xml:1.36 Fri Feb 10 01:28:36 2006 +++ phpdoc-fr/reference/session/ini.xml Fri Aug 11 17:07:17 2006 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.36 $ --> -<!-- EN-Revision: 1.40 Maintainer: dams Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.37 $ --> +<!-- EN-Revision: 1.41 Maintainer: dams Status: ready --> +<!-- Reviewed: no --> + <section id="session.configuration"> &reftitle.runtime; &extension.runtime; @@ -86,6 +87,12 @@ <entry>Disponible depuis &php; 4.0.4.</entry> </row> <row> + <entry>session.cookie_httponly</entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 5.2.0.</entry> + </row> + <row> <entry>session.use_cookies</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> @@ -504,6 +511,21 @@ </listitem> </varlistentry> + <varlistentry id="ini.session.cookie-httponly"> + <term> + <parameter>session.cookie_httponly</parameter> + <type>boolean</type> + </term> + <listitem> + <simpara> + Marque le cookie pour qu'il ne soit accessible que via le protocole HTTP. Cela signifie + que le cookie ne sera pas accessible par les langage de script, comme Javascript. + Cette configuration permet de limiter les attaques comme les attaques XSS (bien + qu'elle n'est pas supporté par tous les navigateurs). + </simpara> + </listitem> + </varlistentry> + <varlistentry id="ini.session.cache-limiter"> <term> <parameter>session.cache_limiter</parameter> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/tidy/functions/tidy-setopt.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/tidy/functions/tidy-setopt.xml diff -u phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.8 phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.9 --- phpdoc-fr/reference/tidy/functions/tidy-setopt.xml:1.8 Fri Nov 4 15:22:52 2005 +++ phpdoc-fr/reference/tidy/functions/tidy-setopt.xml Fri Aug 11 17:07:17 2006 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.tidy-setopt"> <refnamediv> <refname>tidy_setopt</refname> @@ -20,6 +21,8 @@ <function>tidy_setopt</function> configure l'option <parameter>option</parameter> avec la nouvelle valeur <parameter>value</parameter>. + Vous trouverez une liste des options de configuration sur : <ulink + url="&url.tidy.conf;">&url.tidy.conf;</ulink>. </para> <para> <example> @@ -38,7 +41,7 @@ </example> </para> <para> - Voir aussi + Voir aussi <function>tidy_getopt</function>, <function>tidy_get_config</function>, <function>tidy_reset_config</function> et @@ -67,4 +70,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file