cvs: phpdoc-fr /reference/calendar/functions jddayofweek.xml jdtojewish.xml /reference/http/functions/misc http-build-cookie.xml http-date.xml
http-get-request-body-stream.xml http-get-request-body.xml http-get-request-headers.xml http-match-etag.xml http-match-modified.xml
http-match-request-header.xml http-support.xml /reference/http/functions/negotiation http-negotiate-charset.xml http-negotiate-language.xml
/reference/http/functions/outputhandlers ob-deflatehandler.xml ob-etaghandler.xml ob-inflatehandler.xml /reference/http/functions/parsers
http-parse-cookie.xml http-parse-headers.xml http-parse-message.xml http-parse-params.xml /reference/http/functions/responses http-redirect.xml
http-send-content-disposition.xml http-send-content-type.xml http-send-data.xml http-send-file.xml http-send-last-modified.xml http-send-status.xml
http-send-stream.xml http-throttle.xml /reference/http/functions/urls http-build-str.xml http-build-url.xml /reference/ibm_db2 c! onfigure.xml
constants.xml /reference/ibm_db2/functions db2-connect.xml /reference/image ini.xml /reference/mcrypt reference.xml /reference/mcve reference.xml
/reference/mysql/functions mysql-real-escape-string.xml /reference/net_gopher configure.xml /reference/oggvorbis configure.xml /reference/paradox
configure.xml
| From: | Yannick Torres | Date: | Sun, 13 May 2007 13:29:48 +0000 |
| Subject: | cvs: phpdoc-fr /reference/calendar/functions jddayofweek.xml jdtojewish.xml /reference/http/functions/misc http-build-cookie.xml http-date.xml http-get-request-body-stream.xml http-get-request-body.xml http-get-request-headers.xml http-match-etag.xml http-match-modified.xml http-match-request-header.xml http-support.xml /reference/http/functions/negotiation http-negotiate-charset.xml http-negotiate-language.xml /reference/http/functions/outputhandlers ob-deflatehandler.xml ob-etaghandler.xml ob-inflatehandler.xml /reference/http/functions/parsers http-parse-cookie.xml http-parse-headers.xml http-parse-message.xml http-parse-params.xml /reference/http/functions/responses http-redirect.xml http-send-content-disposition.xml http-send-content-type.xml http-send-data.xml http-send-file.xml http-send-last-modified.xml http-send-status.xml http-send-stream.xml http-throttle.xml /reference/http/functions/urls http-build-str.xml http-build-url.xml /reference/ibm_db2 c! onfigure.xml constants.xml /reference/ibm_db2/functions db2-connect.xml /reference/image ini.xml /reference/mcrypt reference.xml /reference/mcve reference.xml /reference/mysql/functions mysql-real-escape-string.xml /reference/net_gopher configure.xml /reference/oggvorbis configure.xml /reference/paradox configure.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-5318@lists.php.net to get a copy of this message | ||
yannick Sun May 13 13:29:48 2007 UTC
Modified files:
/phpdoc-fr/reference/calendar/functions jddayofweek.xml
jdtojewish.xml
/phpdoc-fr/reference/http/functions/misc http-build-cookie.xml
http-date.xml
http-get-request-body-stream.xml
http-get-request-body.xml
http-get-request-headers.xml
http-match-etag.xml
http-match-modified.xml
http-match-request-header.xml
http-support.xml
/phpdoc-fr/reference/http/functions/negotiation
http-negotiate-charset.xml
http-negotiate-language.xml
/phpdoc-fr/reference/http/functions/outputhandlers
ob-deflatehandler.xml
ob-etaghandler.xml
ob-inflatehandler.xml
/phpdoc-fr/reference/http/functions/parsers http-parse-cookie.xml
http-parse-headers.xml
http-parse-message.xml
http-parse-params.xml
/phpdoc-fr/reference/http/functions/responses http-redirect.xml
http-send-content-disposition.xml
http-send-content-type.xml
http-send-data.xml
http-send-file.xml
http-send-last-modified.xml
http-send-status.xml
http-send-stream.xml
http-throttle.xml
/phpdoc-fr/reference/http/functions/urls http-build-str.xml
http-build-url.xml
/phpdoc-fr/reference/ibm_db2 configure.xml constants.xml
/phpdoc-fr/reference/ibm_db2/functions db2-connect.xml
/phpdoc-fr/reference/image ini.xml
/phpdoc-fr/reference/mcrypt reference.xml
/phpdoc-fr/reference/mcve reference.xml
/phpdoc-fr/reference/mysql/functions mysql-real-escape-string.xml
/phpdoc-fr/reference/net_gopher configure.xml
/phpdoc-fr/reference/oggvorbis configure.xml
/phpdoc-fr/reference/paradox configure.xml
Log:
sync with EN
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/calendar/functions/jddayofweek.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/calendar/functions/jddayofweek.xml diff -u phpdoc-fr/reference/calendar/functions/jddayofweek.xml:1.14 phpdoc-fr/reference/calendar/functions/jddayofweek.xml:1.15 --- phpdoc-fr/reference/calendar/functions/jddayofweek.xml:1.14 Sat May 12 15:48:32 2007 +++ phpdoc-fr/reference/calendar/functions/jddayofweek.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.jddayofweek"> @@ -77,30 +77,6 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - La date française républicaine, sous la forme d'une &string; - "mois/jour/année" - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>julianday</parameter></term> - <listitem> - <para> - Le numéro du jour Julien, sous la forme d'un &integer; - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> Le jour de la semaine Grégorien, sous la forme d'un &integer; ou d'une &string;. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/calendar/functions/jdtojewish.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/calendar/functions/jdtojewish.xml diff -u phpdoc-fr/reference/calendar/functions/jdtojewish.xml:1.12 phpdoc-fr/reference/calendar/functions/jdtojewish.xml:1.13 --- phpdoc-fr/reference/calendar/functions/jdtojewish.xml:1.12 Sat May 12 15:48:32 2007 +++ phpdoc-fr/reference/calendar/functions/jdtojewish.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.jdtojewish"> @@ -52,7 +52,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - La date Julien, sous la forme d'une &string; + La date Juive, sous la forme d'une &string; "mois/jour/année". </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml diff -u phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-build-cookie"> @@ -43,6 +43,16 @@ Retourne le(s) cookie(s) sous la forme d'une chaîne de caractères. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_cookie</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-date.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-date.xml diff -u phpdoc-fr/reference/http/functions/misc/http-date.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-date.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-date.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-date.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-date"> @@ -27,7 +27,7 @@ <term><parameter>timestamp</parameter></term> <listitem> <para> - Timestamp Unix + Timestamp Unix ou le temps actuel, si omis </para> </listitem> </varlistentry> @@ -40,6 +40,16 @@ Retourne une date HTTP sous la forme d'une chaîne de caractères. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>date</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml diff -u phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-get-request-body-stream"> @@ -33,6 +33,18 @@ Retourne le corps demandé sous la forme d'un flux en cas de succès, ou &null; si une erreur survient. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_get_request_body</function></member> + <member><function>http_get_request_headers</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml diff -u phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml:1.3 phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml:1.4 --- phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml:1.3 Sat Mar 31 10:06:51 2007 +++ phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-get-request-body"> @@ -35,6 +35,18 @@ une erreur survient. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_get_request_body_stream</function></member> + <member><function>http_get_request_headers</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml diff -u phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-get-request-headers"> @@ -29,6 +29,18 @@ Retourne un tableau associatif d'en-têtes entrants. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_get_request_body</function></member> + <member><function>http_get_request_body_stream</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-match-etag.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-match-etag.xml diff -u phpdoc-fr/reference/http/functions/misc/http-match-etag.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-match-etag.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-match-etag.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-match-etag.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-match-etag"> @@ -12,11 +12,11 @@ &reftitle.description; <methodsynopsis> <type>bool</type><methodname>http_match_etag</methodname> - <methodparam choice="opt"><type>string</type><parameter>etag</parameter></methodparam> + <methodparam><type>string</type><parameter>etag</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>for_range = FALSE</parameter></methodparam> </methodsynopsis> <para> - Cherche l'<emphasis>ETag</emphasis> fourni dans l'en-tête HTTP <literal>If-Match</literal> ou + Cherche l'<literal>ETag</literal> fourni dans l'en-tête HTTP <literal>If-Match</literal> ou <literal>If-None-Match</literal> du client. </para> </refsect1> @@ -28,7 +28,7 @@ <term><parameter>etag</parameter></term> <listitem> <para> - l'ETag à chercher + l'<literal>ETag</literal> à chercher </para> </listitem> </varlistentry> @@ -46,9 +46,24 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne &true; si l'ETag correspond ou l'en-ête contient une astérisque ("*"), &false; sinon. + Retourne &true; si l'<literal>ETag</literal> correspond ou l'en-ête contient une + astérisque ("*"), &false; sinon. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_match_last_modified</function></member> + <member><function>http_match_request_header</function></member> + <member><function>http_cache_etag</function></member> + <member><function>http_cache_last_modified</function></member> + <member><function>ob_etaghandler</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-match-modified.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-match-modified.xml diff -u phpdoc-fr/reference/http/functions/misc/http-match-modified.xml:1.3 phpdoc-fr/reference/http/functions/misc/http-match-modified.xml:1.4 --- phpdoc-fr/reference/http/functions/misc/http-match-modified.xml:1.3 Thu Feb 15 23:07:57 2007 +++ phpdoc-fr/reference/http/functions/misc/http-match-modified.xml Sun May 13 13:29:47 2007 @@ -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 --> <!-- Reviewed: no --> <refentry id="function.http-match-modified"> @@ -16,8 +16,8 @@ <methodparam choice="opt"><type>bool</type><parameter>for_range = FALSE</parameter></methodparam> </methodsynopsis> <para> - Vérifie si le timestamp Unix fourni est valide vis-à-vis de l'en-tête HTTP "If-Modified-Since" ou - "If-Unmodified-Since" du client. + Vérifie si le timestamp Unix fourni est valide vis-à-vis de l'en-tête HTTP + <literal>If-Modified-Since</literal> ou <literal>If-Unmodified-Since</literal> du client. </para> </refsect1> <refsect1 role="parameters"> @@ -49,6 +49,19 @@ Retourne &true; si le timestamp représente une date plus récente que l'en-tete, &false; sinon. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_match_etag</function></member> + <member><function>http_match_request_header</function></member> + <member><function>http_cache_etag</function></member> + <member><function>http_cache_last_modified</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml diff -u phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-match-request-header"> @@ -13,7 +13,7 @@ <methodsynopsis> <type>bool</type><methodname>http_match_request_header</methodname> <methodparam><type>string</type><parameter>header</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam> + <methodparam><type>string</type><parameter>value</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>match_case = FALSE</parameter></methodparam> </methodsynopsis> <para> @@ -28,7 +28,7 @@ <term><parameter>header</parameter></term> <listitem> <para> - Le nom de l'en-tête (insensible à la casse) + le nom de l'en-tête (insensible à la casse) </para> </listitem> </varlistentry> @@ -36,7 +36,7 @@ <term><parameter>value</parameter></term> <listitem> <para> - La valeur de l'en-tête qui doit être comparée + la valeur de l'en-tête qui doit être comparée </para> </listitem> </varlistentry> @@ -44,7 +44,7 @@ <term><parameter>match_case</parameter></term> <listitem> <para> - Si la valeur doit être comparée en respectant la casse + si la valeur doit être comparée en respectant la casse </para> </listitem> </varlistentry> @@ -57,6 +57,17 @@ Retourne &true; si la valeur de l'en-tête correspond, &false; sinon. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_match_etag</function></member> + <member><function>http_match_last_modified</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-support.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-support.xml diff -u phpdoc-fr/reference/http/functions/misc/http-support.xml:1.3 phpdoc-fr/reference/http/functions/misc/http-support.xml:1.4 --- phpdoc-fr/reference/http/functions/misc/http-support.xml:1.3 Thu Feb 15 23:07:57 2007 +++ phpdoc-fr/reference/http/functions/misc/http-support.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-support"> @@ -19,7 +19,7 @@ </para> <para> Voir la <link linkend="http.constants.support">table des constantes supportées</link> - pour les valeurs possibles pour l'argument <varname>feature</varname>. + pour les valeurs possibles pour l'argument <parameter>feature</parameter>. </para> </refsect1> <refsect1 role="parameters"> @@ -30,9 +30,7 @@ <term><parameter>feature</parameter></term> <listitem> <para> - Fonctionnalité à vérifier ; si le paramètre vaut &zero; ou est omis, la valeur retournée - contiendra un bitmask de toutes les fonctionnalités supportées qui dépendent d'une - bibliothèques externes + Fonctionnalité à vérifier </para> </listitem> </varlistentry> @@ -42,10 +40,30 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne un entier si la fonctionnalité demandée est supportée, ou un bitmask - contenant toutes les fonctionnalités supportées. + Retourne un &integer; si la fonctionnalité demandée est supportée, ou un bitmask + contenant toutes les fonctionnalités supportées si le paramètre <parameter>feature</parameter> + est omis. </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>http_support</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +if (!http_support(HTTP_SUPPORT_REQUESTS) { + die("Besoin du support de demande HTTP !\n"); +} +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml diff -u phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml:1.2 phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml:1.3 --- phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-negotiate-charset"> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>string</type><methodname>http_negotiate_charset</methodname> - <methodparam choice="opt"><type>array</type><parameter>supported</parameter></methodparam> + <methodparam><type>array</type><parameter>supported</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter role="reference">result</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml diff -u phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml:1.2 phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml:1.3 --- phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-negotiate-language"> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>string</type><methodname>http_negotiate_language</methodname> - <methodparam choice="opt"><type>array</type><parameter>supported</parameter></methodparam> + <methodparam><type>array</type><parameter>supported</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter role="reference">result</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml diff -u phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml:1.3 phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml:1.4 --- phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml:1.3 Sat Mar 31 10:06:51 2007 +++ phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ob-deflatehandler"> @@ -16,17 +16,30 @@ <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> - À utiliser avec la fonction <function>ob_start</function>. + &http.use.ob_start; </para> <para> - Le gestionnaire de sortie de compression ne peut être utilisée qu'une seule fois. + ¬e.http.ob.once; </para> <para> - Cela rentre en conflit avec la compression ob_gzhandler and zlib.output_compression - et ne doit pas être utilisé après ext/mbstrings mb_output_handler et ext/sessions URL-Rewriter + Cela rentre en conflit avec la compression <function>ob_gzhandler</function> et + <link linkend="ref.zlib">zlib.output_compression</link> + et ne doit pas être utilisé après ext/<link linkend="ref.mbstring">mbstring</link> + <function>mb_output_handler</function> et ext/<link linkend="ref.session">session</link> URL-Rewriter (eg. session.use_trans_sid). </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ob_inflatehandler</function></member> + <member><function>ob_start</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml diff -u phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml:1.3 phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml:1.4 --- phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml:1.3 Sat Mar 31 10:06:51 2007 +++ phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ob-etaghandler"> @@ -16,16 +16,28 @@ <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> - À utiliser avec la fonction <function>ob_start</function>. + &http.use.ob_start; </para> <para> - Le gestionnaire de buffer de sortie génète un ETag avec l'algorythme de hashage spécifié - par &link.http.configuration; <literal>http.etag.mode</literal>. + Le gestionnaire de buffer de sortie génète un <literal>ETag</literal> avec l'algorythme + de hashage spécifié par &link.http.configuration; + <link linkend="http.configuration.etag.mode">http.etag.mode</link>. </para> <para> Ce gestionnaire de sortie est utilisé par la fonction <function>http_cache_etag</function>. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_cache_etag</function></member> + <member><function>http_match_etag</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml diff -u phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml:1.3 phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml:1.4 --- phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml:1.3 Sat Mar 31 10:06:51 2007 +++ phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ob-inflatehandler"> @@ -16,12 +16,23 @@ <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> - À utiliser avec la fonction <function>ob_start</function>. + &http.use.ob_start; </para> <para> Les mêmes restrictions sont appliquées que pour la fonction <function>ob_deflatehandler</function>. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ob_deflatehandler</function></member> + <member><function>ob_start</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml diff -u phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml:1.2 phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml:1.3 --- phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml Sun May 13 13:29:48 2007 @@ -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 --> <!-- Reviewed: no --> <refentry id="function.http-parse-cookie"> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>object</type><methodname>http_parse_cookie</methodname> - <methodparam choice="opt"><type>string</type><parameter>cookie</parameter></methodparam> + <methodparam><type>string</type><parameter>cookie</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>allowed_extras</parameter></methodparam> </methodsynopsis> @@ -28,7 +28,7 @@ <term><parameter>cookie</parameter></term> <listitem> <para> - Chaîne contenant la valeur de l'en-tête <literal>Set-Cookie</literal> de la réponse + chaîne contenant la valeur de l'en-tête <literal>Set-Cookie</literal> de la réponse </para> </listitem> </varlistentry> @@ -36,7 +36,7 @@ <term><parameter>flags</parameter></term> <listitem> <para> - Flags d'analyse + Flags d'analyse (<link linkend="http.constants.cookie"><constant>HTTP_COOKIE_PARSE_RAW</constant></link>) </para> </listitem> </varlistentry> @@ -44,8 +44,8 @@ <term><parameter>allowed_extras</parameter></term> <listitem> <para> - Tableau contenant des clés reconnues <emphasis>supplémentaires</emphasis>. - Par défaut, toutes les clés inconnues seront traitées comme des noms de cookies. + Tableau contenant des clés reconnues <emphasis>supplémentaires</emphasis> ; + par défaut, toutes les clés inconnues seront traitées comme des noms de cookies. </para> </listitem> </varlistentry> @@ -55,7 +55,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne une stdClass comme montrée dans l'exemple en cas de succès, ou &false; + Retourne un objet stdClass en cas de succès, ou &false; si une erreur survient. </para> </refsect1> @@ -97,6 +97,18 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_headers</function></member> + <member><function>http_parse_message</function></member> + <member><function>http_build_cookie</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml diff -u phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml:1.2 phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml:1.3 --- phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-parse-headers"> @@ -26,7 +26,7 @@ <term><parameter>header</parameter></term> <listitem> <para> - Chaîne contenant les en-têtes HTTP + chaîne contenant les en-têtes HTTP </para> </listitem> </varlistentry> @@ -77,6 +77,17 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_message</function></member> + <member><function>http_parse_cookie</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml diff -u phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml:1.4 phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml:1.5 --- phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml:1.4 Sun Oct 15 15:52:02 2006 +++ phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-parse-message"> @@ -27,7 +27,7 @@ <term><parameter>message</parameter></term> <listitem> <para> - Chaîne contenant un message HTTP simple ou plusieurs messages HTTP consécutifs + chaîne contenant un message HTTP simple ou plusieurs messages HTTP consécutifs </para> </listitem> </varlistentry> @@ -37,7 +37,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Une structure d'&objet;s hiérarchiques des messages analysés. + Retourne une structure d'&objet;s hiérarchiques des messages analysés. </para> </refsect1> <refsect1 role="examples"> @@ -86,6 +86,17 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_headers</function></member> + <member>la classe <link linkend="http.HttpMessage"><classname>HttpMessage</classname></link></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml diff -u phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml:1.3 phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml:1.4 --- phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml:1.3 Sat Mar 31 10:06:52 2007 +++ phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-parse-params"> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>object</type><methodname>http_parse_params</methodname> - <methodparam choice="opt"><type>string</type><parameter>param</parameter></methodparam> + <methodparam><type>string</type><parameter>param</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags = HTTP_PARAMS_DEFAULT</parameter></methodparam> </methodsynopsis> <para> @@ -20,7 +20,7 @@ </para> <para> Voir la <link linkend="http.constants.params">table des constantes analysées</link> pour - les valeurs possibles de l'argument <varname>flags</varname>. + les valeurs possibles de l'argument <parameter>flags</parameter>. </para> </refsect1> @@ -51,7 +51,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne la liste des paramètres. + Retourne la liste des paramètres sous la forme d'un objet stdClass. </para> </refsect1> @@ -88,6 +88,17 @@ </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_headers</function></member> + <member><function>http_parse_cookie</function></member> + <member><function>http_parse_message</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-redirect.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-redirect.xml diff -u phpdoc-fr/reference/http/functions/responses/http-redirect.xml:1.3 phpdoc-fr/reference/http/functions/responses/http-redirect.xml:1.4 --- phpdoc-fr/reference/http/functions/responses/http-redirect.xml:1.3 Sat Mar 31 10:06:52 2007 +++ phpdoc-fr/reference/http/functions/responses/http-redirect.xml Sun May 13 13:29:48 2007 @@ -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.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-redirect"> @@ -22,23 +22,15 @@ Effectue une redirection vers l'URL fournie. </para> <para> - L'URL fournie sera traité par la fonction <function>http_build_url</function>, le tableau de paramètres - sera traité par la fonction <function>http_build_str</function> et l'identifiant de session sera ajouté si - la session est active. - </para> - <para> - Le code réponse HTTP sera définit en accord avec le statut. - </para> - <para> + L'<parameter>url</parameter> fournie sera traité par la fonction <function>http_build_url</function>, + le paramètre <parameter>params</parameter> sera traité par la fonction <function>http_build_str</function> + et l'identifiant de session sera ajouté si + le paramètre <parameter>session</parameter> vaut true. Vous pouvez utiliser une des <link linkend="http.constants.redirect">constantes de redirection</link> pour plus de confort. - </para> - <para> Repportez-vous à la <ulink url="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3">RFC 2616</ulink> pour connaître le code réponse de redirection à utiliser et dans quelle situation. - </para> - <para> - Par défaut, &php; décidera quel staut à la réponse convient le mieux. + Par défaut, &php; décidera quel statut à la réponse convient le mieux. </para> <para> Pour rester conforme à la RFC, "Redirecting to <a>URL</a>." doit être affiché, @@ -46,7 +38,8 @@ </para> <para> Une entrée sera écrite dans l'historique de la redirection, si le &link.http.configuration; - <emphasis>http.log.redirect</emphasis> est définit et que la redirection réussit. + <link linkend="http.configuration.log.redirect">http.log.redirect</link> est définit et que la + redirection réussit. </para> </refsect1> @@ -96,6 +89,43 @@ &see.http.configuration.force_exit; </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>http_redirect</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +http_redirect("relpath", array("name" => "value"), true, HTTP_REDIRECT_PERM); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +HTTP/1.1 301 Moved Permanently +X-Powered-By: PHP/5.2.2 +Content-Type: text/html +Location: http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc + +Redirecting to <a href="http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc">http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc</a>. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-content-disposition"> @@ -12,16 +12,15 @@ &reftitle.description; <methodsynopsis> <type>bool</type><methodname>http_send_content_disposition</methodname> - <methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>inline = FALSE</parameter></methodparam> </methodsynopsis> <para> - Envoi l'en-tête Content-Disposition. L'en-tête Content-Disposition est très utile - si les données actuellement envoyées proviennent d'un fichier ou quelque chose de - similaire, qui doit être "sauvegardé" par le client/utilisateur (i.e. par - les navigateurs via le popup "Enregistrer sous..."). + Envoi l'en-tête <literal>Content-Disposition</literal>. + &http.content.disposition; </para> + ¬e.http.send.API; </refsect1> <refsect1 role="parameters"> @@ -40,7 +39,7 @@ <term><parameter>inline</parameter></term> <listitem> <para> - Si défini à &true; et que l'agent utilisateur sait comme gérer le type de contenu, + si défini à &true; et que l'agent utilisateur sait comme gérer le type de contenu, ce paramètre fera probablement ne pas apparaître le popup </para> </listitem> @@ -54,6 +53,19 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_file</function></member> + <member><function>http_send_stream</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-content-type"> @@ -16,9 +16,9 @@ </methodsynopsis> <para> - Envoi le type de contenu d'entité envoyé. Ceci est particulièrement important - si vous utilisez l'API <function>http_send</function>. + Envoi le type de contenu d'entité envoyé. </para> + ¬e.http.send.API; </refsect1> <refsect1 role="parameters"> @@ -42,6 +42,27 @@ &return.success; </para> </refsect1> + + <refsect1 role="errors"> + &reftitle.errors; + <para> + Émet une alerte de niveau <constant>E_WARNING</constant> lorsque le <parameter>content_type</parameter> + ne semble pas contenir une partie primaire et secondaire. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_file</function></member> + <member><function>http_send_stream</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-data.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-data.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-data.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-data.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-data.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-data.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-data"> @@ -41,6 +41,21 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_file</function></member> + <member><function>http_send_stream</function></member> + <member><function>http_throttle</function></member> + <member><function>http_send_content_type</function></member> + <member><function>http_send_content_disposition</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-file.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-file.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-file.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-file.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-file.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-file.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-file"> @@ -18,6 +18,18 @@ <para> Envoi un fichier avec le support (multiple) des requêtes. </para> + <para> + Le fonctionnement de cette fonction ainsi que ses futures actions dépendent + des &link.http.configuration;s : + <link linkend="http.configuration.send.not_found_404">http.send.not_found_404</link> + &listendand; <link linkend="http.configuration.log.not_found">http.log.not_found</link>. + </para> + <para> + Si l'&link.http.configuration; <link linkend="http.configuration.send.not_found_404">http.send.not_found_404</link> + est active et l'&link.http.configuration; <link linkend="http.configuration.log.not_found">http.log.not_found</link> + pointe vers un fichier accessible en écriture, un message sera écrit lorsque le paramètre + <parameter>file</parameter> n'aura pu être trouvé. + </para> </refsect1> <refsect1 role="parameters"> @@ -41,6 +53,54 @@ &return.success; </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>http_send_file</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +http_send_content_disposition("document.pdf", true); +http_send_content_type("application/pdf"); +http_throttle(0.1, 2048); +http_send_file("../report.pdf"); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +HTTP/1.1 206 Partial Content +X-Powered-By: PHP/5.2.2 +Accept-Ranges: bytes +Content-Length: 12345 +Content-Range: bytes 0-12344 +Content-Type: application/pdf +Content-Disposition: inline; filename="document.pdf" + +%PDF... +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_stream</function></member> + <member><function>http_throttle</function></member> + <member><function>http_send_content_type</function></member> + <member><function>http_send_content_disposition</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml:1.3 phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml:1.4 --- phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml:1.3 Thu Feb 15 23:07:58 2007 +++ phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-last-modified"> @@ -16,8 +16,9 @@ </methodsynopsis> <para> - Envoi un en-tête <emphasis>Last-Modified</emphasis> avec une date HTTP valide. + Envoi un en-tête <literal>Last-Modified</literal> avec une date HTTP valide. </para> + ¬e.http.send.API; </refsect1> <refsect1 role="parameters"> @@ -42,6 +43,16 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-status.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-status.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-status.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-status.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-status.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-status.xml Sun May 13 13:29:48 2007 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-status"> <refnamediv> <refname>http_send_status</refname> - <refpurpose>Envoi le statut</refpurpose> + <refpurpose>Envoi le statut réponse HTTP</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -28,7 +28,7 @@ <term><parameter>status</parameter></term> <listitem> <para> - code statut HTTP + code statut HTTP (100-599) </para> </listitem> </varlistentry> @@ -41,6 +41,16 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-stream.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-stream.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-stream.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-stream.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-stream.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-stream.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-stream"> @@ -41,6 +41,21 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_file</function></member> + <member><function>http_throttle</function></member> + <member><function>http_send_content_type</function></member> + <member><function>http_send_content_disposition</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-throttle.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-throttle.xml diff -u phpdoc-fr/reference/http/functions/responses/http-throttle.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-throttle.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-throttle.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-throttle.xml Sun May 13 13:29:48 2007 @@ -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.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-throttle"> @@ -12,15 +12,20 @@ &reftitle.description; <methodsynopsis> <type>void</type><methodname>http_throttle</methodname> - <methodparam choice="opt"><type>double</type><parameter>sec</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>sec</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>bytes = 40960</parameter></methodparam> </methodsynopsis> <para> - Définit le délai d'étranglement et envoie la taille du buffer à utiliser avec l'API http_send(). - Fournit un méchanisme d'étranglement basic, qui va gérer le processus courant de la réponse - tant que la totalité n'a pas été envoyée. + Définit le délai d'étranglement et envoie la taille du buffer. </para> + ¬e.http.send.API; + ¬e.http.throttling.yields.process; + <note> + <para> + &http.maynotwork.SAPI; FastCGI. + </para> + </note> </refsect1> <refsect1 role="parameters"> @@ -46,6 +51,7 @@ </variablelist> </para> </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -69,6 +75,19 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_file</function></member> + <member><function>http_send_stream</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/urls/http-build-str.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/urls/http-build-str.xml diff -u phpdoc-fr/reference/http/functions/urls/http-build-str.xml:1.2 phpdoc-fr/reference/http/functions/urls/http-build-str.xml:1.3 --- phpdoc-fr/reference/http/functions/urls/http-build-str.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/urls/http-build-str.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-build-str"> @@ -55,12 +55,24 @@ </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Retourne l'URL construite sous la forme d'une chaîne de caractères ou &false; si une erreur survient. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member>standard <function>http_build_query</function></member> + <member><function>http_build_url</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/urls/http-build-url.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/urls/http-build-url.xml diff -u phpdoc-fr/reference/http/functions/urls/http-build-url.xml:1.2 phpdoc-fr/reference/http/functions/urls/http-build-url.xml:1.3 --- phpdoc-fr/reference/http/functions/urls/http-build-url.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/urls/http-build-url.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-build-url"> @@ -26,6 +26,7 @@ </para> </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -68,6 +69,7 @@ </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> @@ -103,6 +105,17 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>parse_url</function></member> + <member><function>http_build_str</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ibm_db2/configure.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/ibm_db2/configure.xml diff -u phpdoc-fr/reference/ibm_db2/configure.xml:1.4 phpdoc-fr/reference/ibm_db2/configure.xml:1.5 --- phpdoc-fr/reference/ibm_db2/configure.xml:1.4 Thu Sep 1 22:48:57 2005 +++ phpdoc-fr/reference/ibm_db2/configure.xml Sun May 13 13:29:48 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.4 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <section id="ibm-db2.installation"> &reftitle.install; <para> @@ -34,6 +35,32 @@ La commande <command>configure</command> prend la valeur par défaut de <filename class='directory'>/opt/IBM/db2/V8.1</filename>. </para> + <para> + <note> + <title>Note pour les utilisateurs de IIS</title> + <para> + Si vous utilisez le driver ibm_db2 avec IIS (Microsoft Internet Information Server), + vous devez faire ce qui suit : + </para> + <para> + <simplelist> + <member> + Installez DB2 avec le système de sécurité étendu. + </member> + <member> + Ajoutez le chemin vers le binaire &php; à la variable d'environnement du système (PATH) + (default C:\php\). + </member> + <member> + Créé une autre variable d'environnement contenant le chemin vers le fichier PHP.INI (eg: PHPRC = C:\php\). + </member> + <member> + Ajoutez l'utilisateur IUSR_COMPUTERNAME au groupe DB2USERS. + </member> + </simplelist> + </para> + </note> + </para> </section> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ibm_db2/constants.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/ibm_db2/constants.xml diff -u phpdoc-fr/reference/ibm_db2/constants.xml:1.7 phpdoc-fr/reference/ibm_db2/constants.xml:1.8 --- phpdoc-fr/reference/ibm_db2/constants.xml:1.7 Sat Feb 25 22:38:08 2006 +++ phpdoc-fr/reference/ibm_db2/constants.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.7 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <section id="ibm-db2.constants"> @@ -13,7 +13,7 @@ (&integer;) </term> <listitem> - <simpara> + <simpara> Spécifie que les données binaires seront retournées comme elles sont. Ceci est le mode par défaut. </simpara> @@ -205,6 +205,28 @@ </simpara> </listitem> </varlistentry> + <varlistentry> + <term> + <constant>DB2_DEFERRED_PREPARE_ON</constant> + (&integer;) + </term> + <listitem> + <simpara> + Spécifie que la préparation déferrée doit être active pour la ressource de requête spécifiée. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>DB2_DEFERRED_PREPARE_OFF</constant> + (&integer;) + </term> + <listitem> + <simpara> + Spécifie que la préparation déferrée doit être désactivée pour la ressource de requête spécifiée. + </simpara> + </listitem> + </varlistentry> </variablelist> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml diff -u phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml:1.7 phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml:1.8 --- phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml:1.7 Sat Nov 18 19:29:32 2006 +++ phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.10 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.db2-connect"> @@ -41,7 +41,7 @@ Pour une connexion non cataloguée de la base de données, <parameter>database</parameter> représente une chaîne complète de connexion qui est dans le format suivant : - <literal>DRIVER={IBM DB2 ODBC DRIVER};DATABASE=<parameter>database</parameter>;HOSTNAME=<parameter>hostname</parameter>;PORT=<parameter>port</parameter>;PROTOCOL=TCPIP;UID=<parameter>username</parameter>;PWD=<parameter>password</parameter>;</literal> + <literal>DATABASE=<parameter>database</parameter>;HOSTNAME=<parameter>hostname</parameter>;PORT=<parameter>port</parameter>;PROTOCOL=TCPIP;UID=<parameter>username</parameter>;PWD=<parameter>password</parameter>;</literal> où les paramètres représentent les valeurs suivantes : <variablelist> <varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/ini.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/image/ini.xml diff -u phpdoc-fr/reference/image/ini.xml:1.10 phpdoc-fr/reference/image/ini.xml:1.11 --- phpdoc-fr/reference/image/ini.xml:1.10 Tue Jul 27 16:17:33 2004 +++ phpdoc-fr/reference/image/ini.xml Sun May 13 13:29:48 2007 @@ -1,15 +1,24 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <section id="image.configuration"> &reftitle.runtime; <para> Il n'y a pas de configuration spécifique pour les images mais vous êtes peut être intéressé par les directives de l'<link linkend="ref.exif">extension exif</link>. </para> -</section> + <warning> + <para> + Les fonctions sur les images sont très gourmandes en terme de mémoire. + Assurez-vous de définir une valeur assez importante pour <link + linkend="ini.memory-limit">memory_limit</link>. + </para> + </warning> + +</section> <!-- Keep this comment at the end of the file Local variables: @@ -30,5 +39,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/mcrypt/reference.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/mcrypt/reference.xml diff -u phpdoc-fr/reference/mcrypt/reference.xml:1.15 phpdoc-fr/reference/mcrypt/reference.xml:1.16 --- phpdoc-fr/reference/mcrypt/reference.xml:1.15 Fri Dec 15 18:21:52 2006 +++ phpdoc-fr/reference/mcrypt/reference.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.18 Maintainer: didou Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> <!-- Purpose: mathcrypto.crypto --> <!-- Membership: bundled, external --> <!-- Reviewed: yes --> @@ -48,10 +48,12 @@ &reference.mcrypt.configure; &reference.mcrypt.ini; - + <section id="mcrypt.resources"> &reftitle.resources; - &no.resource; + <para> + <function>mcrypt_module_open</function> retourne un descripteur de cryptage. + </para> </section> &reference.mcrypt.constants; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/mcve/reference.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/mcve/reference.xml diff -u phpdoc-fr/reference/mcve/reference.xml:1.14 phpdoc-fr/reference/mcve/reference.xml:1.15 --- phpdoc-fr/reference/mcve/reference.xml:1.14 Fri Nov 18 05:30:28 2005 +++ phpdoc-fr/reference/mcve/reference.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.11 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Purpose: creditcard --> <!-- Membership: pecl --> <!-- Reviewed: yes --> @@ -54,6 +54,14 @@ </para> </section> + <section id="mcve.resources"> + &reftitle.resources; + <para> + Cette extension définit une ressource MCVE_CONN retournée + par la fonction <function>m_initconn</function>. + </para> + </section> + &reference.mcve.constants; </partintro> @@ -61,6 +69,7 @@ &reference.mcve.functions; </reference> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -80,5 +89,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/mysql/functions/mysql-real-escape-string.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml diff -u phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml:1.23 phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml:1.24 --- phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml:1.23 Tue Jan 23 19:58:21 2007 +++ phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> -<!-- EN-Revision: 1.27 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.24 $ --> +<!-- EN-Revision: 1.28 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.mysql-real-escape-string"> @@ -140,16 +140,23 @@ } else { + // Annule les effets magic_quotes_gpc/magic_quotes_sybase sur ces variables si ON. + if(get_magic_quotes_gpc()) { - $product_name = stripslashes($_POST['product_name']); - $product_description = stripslashes($_POST['product_description']); + if(ini_get('magic_quotes_sybase')) { + $product_name = str_replace("''", "'", $_POST['product_name']); + $product_description = str_replace("''", "'", $_POST['product_description']); + } else { + $product_name = stripslashes($_POST['product_name']); + $product_description = stripslashes($_POST['product_description']); + } } else { $product_name = $_POST['product_name']; $product_description = $_POST['product_description']; } // Faire une requête sécurisée - $query = sprintf("INSERT INTO products (`name`, `description`, `user_id`) VALUES ('%s', '%s', '%d')", + $query = sprintf("INSERT INTO products (`name`, `description`, `user_id`) VALUES ('%s', '%s', %d)", mysql_real_escape_string($product_name, $link), mysql_real_escape_string($product_description, $link), $_POST['user_id']); http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/net_gopher/configure.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/net_gopher/configure.xml diff -u phpdoc-fr/reference/net_gopher/configure.xml:1.2 phpdoc-fr/reference/net_gopher/configure.xml:1.3 --- phpdoc-fr/reference/net_gopher/configure.xml:1.2 Sun Mar 11 10:49:44 2007 +++ phpdoc-fr/reference/net_gopher/configure.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <section id="net-gopher.install"> @@ -10,7 +10,7 @@ </para> <para> &pecl.info; - <ulink url="&url.pecl;net_gopher">&url.pecl;net_gopher</ulink> + <ulink url="&url.pecl.package;net_gopher">&url.pecl.package;net_gopher</ulink> </para> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/oggvorbis/configure.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/oggvorbis/configure.xml diff -u phpdoc-fr/reference/oggvorbis/configure.xml:1.3 phpdoc-fr/reference/oggvorbis/configure.xml:1.4 --- phpdoc-fr/reference/oggvorbis/configure.xml:1.3 Mon Mar 19 21:09:14 2007 +++ phpdoc-fr/reference/oggvorbis/configure.xml Sun May 13 13:29:48 2007 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <section id="oggvorbis.installation"> &reftitle.install; <para> &pecl.info; - <ulink url="&url.pecl;oggvorbis">&url.pecl;oggvorbis</ulink> + <ulink url="&url.pecl.package;oggvorbis">&url.pecl.package;oggvorbis</ulink> </para> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/paradox/configure.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/paradox/configure.xml diff -u phpdoc-fr/reference/paradox/configure.xml:1.4 phpdoc-fr/reference/paradox/configure.xml:1.5 --- phpdoc-fr/reference/paradox/configure.xml:1.4 Mon Mar 19 21:09:15 2007 +++ phpdoc-fr/reference/paradox/configure.xml Sun May 13 13:29:48 2007 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <section id="paradox.installation"> &reftitle.install; <para> &pecl.info; - <ulink url="&url.pecl;paradox">&url.pecl;paradox</ulink> + <ulink url="&url.pecl.package;paradox">&url.pecl.package;paradox</ulink> </para> <para> Assurez-vous d'avoir installé pxlib avant.
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/calendar/functions/jddayofweek.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/calendar/functions/jddayofweek.xml diff -u phpdoc-fr/reference/calendar/functions/jddayofweek.xml:1.14 phpdoc-fr/reference/calendar/functions/jddayofweek.xml:1.15 --- phpdoc-fr/reference/calendar/functions/jddayofweek.xml:1.14 Sat May 12 15:48:32 2007 +++ phpdoc-fr/reference/calendar/functions/jddayofweek.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.jddayofweek"> @@ -77,30 +77,6 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - La date française républicaine, sous la forme d'une &string; - "mois/jour/année" - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> - <varlistentry> - <term><parameter>julianday</parameter></term> - <listitem> - <para> - Le numéro du jour Julien, sous la forme d'un &integer; - </para> - </listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> Le jour de la semaine Grégorien, sous la forme d'un &integer; ou d'une &string;. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/calendar/functions/jdtojewish.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/calendar/functions/jdtojewish.xml diff -u phpdoc-fr/reference/calendar/functions/jdtojewish.xml:1.12 phpdoc-fr/reference/calendar/functions/jdtojewish.xml:1.13 --- phpdoc-fr/reference/calendar/functions/jdtojewish.xml:1.12 Sat May 12 15:48:32 2007 +++ phpdoc-fr/reference/calendar/functions/jdtojewish.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.jdtojewish"> @@ -52,7 +52,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - La date Julien, sous la forme d'une &string; + La date Juive, sous la forme d'une &string; "mois/jour/année". </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml diff -u phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-build-cookie.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-build-cookie"> @@ -43,6 +43,16 @@ Retourne le(s) cookie(s) sous la forme d'une chaîne de caractères. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_cookie</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-date.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-date.xml diff -u phpdoc-fr/reference/http/functions/misc/http-date.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-date.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-date.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-date.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-date"> @@ -27,7 +27,7 @@ <term><parameter>timestamp</parameter></term> <listitem> <para> - Timestamp Unix + Timestamp Unix ou le temps actuel, si omis </para> </listitem> </varlistentry> @@ -40,6 +40,16 @@ Retourne une date HTTP sous la forme d'une chaîne de caractères. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>date</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml diff -u phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-get-request-body-stream.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-get-request-body-stream"> @@ -33,6 +33,18 @@ Retourne le corps demandé sous la forme d'un flux en cas de succès, ou &null; si une erreur survient. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_get_request_body</function></member> + <member><function>http_get_request_headers</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml diff -u phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml:1.3 phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml:1.4 --- phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml:1.3 Sat Mar 31 10:06:51 2007 +++ phpdoc-fr/reference/http/functions/misc/http-get-request-body.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-get-request-body"> @@ -35,6 +35,18 @@ une erreur survient. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_get_request_body_stream</function></member> + <member><function>http_get_request_headers</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml diff -u phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-get-request-headers.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-get-request-headers"> @@ -29,6 +29,18 @@ Retourne un tableau associatif d'en-têtes entrants. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_get_request_body</function></member> + <member><function>http_get_request_body_stream</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-match-etag.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-match-etag.xml diff -u phpdoc-fr/reference/http/functions/misc/http-match-etag.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-match-etag.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-match-etag.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-match-etag.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-match-etag"> @@ -12,11 +12,11 @@ &reftitle.description; <methodsynopsis> <type>bool</type><methodname>http_match_etag</methodname> - <methodparam choice="opt"><type>string</type><parameter>etag</parameter></methodparam> + <methodparam><type>string</type><parameter>etag</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>for_range = FALSE</parameter></methodparam> </methodsynopsis> <para> - Cherche l'<emphasis>ETag</emphasis> fourni dans l'en-tête HTTP <literal>If-Match</literal> ou + Cherche l'<literal>ETag</literal> fourni dans l'en-tête HTTP <literal>If-Match</literal> ou <literal>If-None-Match</literal> du client. </para> </refsect1> @@ -28,7 +28,7 @@ <term><parameter>etag</parameter></term> <listitem> <para> - l'ETag à chercher + l'<literal>ETag</literal> à chercher </para> </listitem> </varlistentry> @@ -46,9 +46,24 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne &true; si l'ETag correspond ou l'en-ête contient une astérisque ("*"), &false; sinon. + Retourne &true; si l'<literal>ETag</literal> correspond ou l'en-ête contient une + astérisque ("*"), &false; sinon. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_match_last_modified</function></member> + <member><function>http_match_request_header</function></member> + <member><function>http_cache_etag</function></member> + <member><function>http_cache_last_modified</function></member> + <member><function>ob_etaghandler</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-match-modified.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-match-modified.xml diff -u phpdoc-fr/reference/http/functions/misc/http-match-modified.xml:1.3 phpdoc-fr/reference/http/functions/misc/http-match-modified.xml:1.4 --- phpdoc-fr/reference/http/functions/misc/http-match-modified.xml:1.3 Thu Feb 15 23:07:57 2007 +++ phpdoc-fr/reference/http/functions/misc/http-match-modified.xml Sun May 13 13:29:47 2007 @@ -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 --> <!-- Reviewed: no --> <refentry id="function.http-match-modified"> @@ -16,8 +16,8 @@ <methodparam choice="opt"><type>bool</type><parameter>for_range = FALSE</parameter></methodparam> </methodsynopsis> <para> - Vérifie si le timestamp Unix fourni est valide vis-à-vis de l'en-tête HTTP "If-Modified-Since" ou - "If-Unmodified-Since" du client. + Vérifie si le timestamp Unix fourni est valide vis-à-vis de l'en-tête HTTP + <literal>If-Modified-Since</literal> ou <literal>If-Unmodified-Since</literal> du client. </para> </refsect1> <refsect1 role="parameters"> @@ -49,6 +49,19 @@ Retourne &true; si le timestamp représente une date plus récente que l'en-tete, &false; sinon. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_match_etag</function></member> + <member><function>http_match_request_header</function></member> + <member><function>http_cache_etag</function></member> + <member><function>http_cache_last_modified</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml diff -u phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml:1.2 phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml:1.3 --- phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/misc/http-match-request-header.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-match-request-header"> @@ -13,7 +13,7 @@ <methodsynopsis> <type>bool</type><methodname>http_match_request_header</methodname> <methodparam><type>string</type><parameter>header</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam> + <methodparam><type>string</type><parameter>value</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>match_case = FALSE</parameter></methodparam> </methodsynopsis> <para> @@ -28,7 +28,7 @@ <term><parameter>header</parameter></term> <listitem> <para> - Le nom de l'en-tête (insensible à la casse) + le nom de l'en-tête (insensible à la casse) </para> </listitem> </varlistentry> @@ -36,7 +36,7 @@ <term><parameter>value</parameter></term> <listitem> <para> - La valeur de l'en-tête qui doit être comparée + la valeur de l'en-tête qui doit être comparée </para> </listitem> </varlistentry> @@ -44,7 +44,7 @@ <term><parameter>match_case</parameter></term> <listitem> <para> - Si la valeur doit être comparée en respectant la casse + si la valeur doit être comparée en respectant la casse </para> </listitem> </varlistentry> @@ -57,6 +57,17 @@ Retourne &true; si la valeur de l'en-tête correspond, &false; sinon. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_match_etag</function></member> + <member><function>http_match_last_modified</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/misc/http-support.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/misc/http-support.xml diff -u phpdoc-fr/reference/http/functions/misc/http-support.xml:1.3 phpdoc-fr/reference/http/functions/misc/http-support.xml:1.4 --- phpdoc-fr/reference/http/functions/misc/http-support.xml:1.3 Thu Feb 15 23:07:57 2007 +++ phpdoc-fr/reference/http/functions/misc/http-support.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-support"> @@ -19,7 +19,7 @@ </para> <para> Voir la <link linkend="http.constants.support">table des constantes supportées</link> - pour les valeurs possibles pour l'argument <varname>feature</varname>. + pour les valeurs possibles pour l'argument <parameter>feature</parameter>. </para> </refsect1> <refsect1 role="parameters"> @@ -30,9 +30,7 @@ <term><parameter>feature</parameter></term> <listitem> <para> - Fonctionnalité à vérifier ; si le paramètre vaut &zero; ou est omis, la valeur retournée - contiendra un bitmask de toutes les fonctionnalités supportées qui dépendent d'une - bibliothèques externes + Fonctionnalité à vérifier </para> </listitem> </varlistentry> @@ -42,10 +40,30 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne un entier si la fonctionnalité demandée est supportée, ou un bitmask - contenant toutes les fonctionnalités supportées. + Retourne un &integer; si la fonctionnalité demandée est supportée, ou un bitmask + contenant toutes les fonctionnalités supportées si le paramètre <parameter>feature</parameter> + est omis. </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>http_support</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +if (!http_support(HTTP_SUPPORT_REQUESTS) { + die("Besoin du support de demande HTTP !\n"); +} +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml diff -u phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml:1.2 phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml:1.3 --- phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/negotiation/http-negotiate-charset.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-negotiate-charset"> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>string</type><methodname>http_negotiate_charset</methodname> - <methodparam choice="opt"><type>array</type><parameter>supported</parameter></methodparam> + <methodparam><type>array</type><parameter>supported</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter role="reference">result</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml diff -u phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml:1.2 phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml:1.3 --- phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/negotiation/http-negotiate-language.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-negotiate-language"> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>string</type><methodname>http_negotiate_language</methodname> - <methodparam choice="opt"><type>array</type><parameter>supported</parameter></methodparam> + <methodparam><type>array</type><parameter>supported</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter role="reference">result</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml diff -u phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml:1.3 phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml:1.4 --- phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml:1.3 Sat Mar 31 10:06:51 2007 +++ phpdoc-fr/reference/http/functions/outputhandlers/ob-deflatehandler.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ob-deflatehandler"> @@ -16,17 +16,30 @@ <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> - À utiliser avec la fonction <function>ob_start</function>. + &http.use.ob_start; </para> <para> - Le gestionnaire de sortie de compression ne peut être utilisée qu'une seule fois. + ¬e.http.ob.once; </para> <para> - Cela rentre en conflit avec la compression ob_gzhandler and zlib.output_compression - et ne doit pas être utilisé après ext/mbstrings mb_output_handler et ext/sessions URL-Rewriter + Cela rentre en conflit avec la compression <function>ob_gzhandler</function> et + <link linkend="ref.zlib">zlib.output_compression</link> + et ne doit pas être utilisé après ext/<link linkend="ref.mbstring">mbstring</link> + <function>mb_output_handler</function> et ext/<link linkend="ref.session">session</link> URL-Rewriter (eg. session.use_trans_sid). </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ob_inflatehandler</function></member> + <member><function>ob_start</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml diff -u phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml:1.3 phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml:1.4 --- phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml:1.3 Sat Mar 31 10:06:51 2007 +++ phpdoc-fr/reference/http/functions/outputhandlers/ob-etaghandler.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ob-etaghandler"> @@ -16,16 +16,28 @@ <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> - À utiliser avec la fonction <function>ob_start</function>. + &http.use.ob_start; </para> <para> - Le gestionnaire de buffer de sortie génète un ETag avec l'algorythme de hashage spécifié - par &link.http.configuration; <literal>http.etag.mode</literal>. + Le gestionnaire de buffer de sortie génète un <literal>ETag</literal> avec l'algorythme + de hashage spécifié par &link.http.configuration; + <link linkend="http.configuration.etag.mode">http.etag.mode</link>. </para> <para> Ce gestionnaire de sortie est utilisé par la fonction <function>http_cache_etag</function>. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_cache_etag</function></member> + <member><function>http_match_etag</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml diff -u phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml:1.3 phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml:1.4 --- phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml:1.3 Sat Mar 31 10:06:51 2007 +++ phpdoc-fr/reference/http/functions/outputhandlers/ob-inflatehandler.xml Sun May 13 13:29:47 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.ob-inflatehandler"> @@ -16,12 +16,23 @@ <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> - À utiliser avec la fonction <function>ob_start</function>. + &http.use.ob_start; </para> <para> Les mêmes restrictions sont appliquées que pour la fonction <function>ob_deflatehandler</function>. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ob_deflatehandler</function></member> + <member><function>ob_start</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml diff -u phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml:1.2 phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml:1.3 --- phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/parsers/http-parse-cookie.xml Sun May 13 13:29:48 2007 @@ -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 --> <!-- Reviewed: no --> <refentry id="function.http-parse-cookie"> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>object</type><methodname>http_parse_cookie</methodname> - <methodparam choice="opt"><type>string</type><parameter>cookie</parameter></methodparam> + <methodparam><type>string</type><parameter>cookie</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>allowed_extras</parameter></methodparam> </methodsynopsis> @@ -28,7 +28,7 @@ <term><parameter>cookie</parameter></term> <listitem> <para> - Chaîne contenant la valeur de l'en-tête <literal>Set-Cookie</literal> de la réponse + chaîne contenant la valeur de l'en-tête <literal>Set-Cookie</literal> de la réponse </para> </listitem> </varlistentry> @@ -36,7 +36,7 @@ <term><parameter>flags</parameter></term> <listitem> <para> - Flags d'analyse + Flags d'analyse (<link linkend="http.constants.cookie"><constant>HTTP_COOKIE_PARSE_RAW</constant></link>) </para> </listitem> </varlistentry> @@ -44,8 +44,8 @@ <term><parameter>allowed_extras</parameter></term> <listitem> <para> - Tableau contenant des clés reconnues <emphasis>supplémentaires</emphasis>. - Par défaut, toutes les clés inconnues seront traitées comme des noms de cookies. + Tableau contenant des clés reconnues <emphasis>supplémentaires</emphasis> ; + par défaut, toutes les clés inconnues seront traitées comme des noms de cookies. </para> </listitem> </varlistentry> @@ -55,7 +55,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne une stdClass comme montrée dans l'exemple en cas de succès, ou &false; + Retourne un objet stdClass en cas de succès, ou &false; si une erreur survient. </para> </refsect1> @@ -97,6 +97,18 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_headers</function></member> + <member><function>http_parse_message</function></member> + <member><function>http_build_cookie</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml diff -u phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml:1.2 phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml:1.3 --- phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/parsers/http-parse-headers.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-parse-headers"> @@ -26,7 +26,7 @@ <term><parameter>header</parameter></term> <listitem> <para> - Chaîne contenant les en-têtes HTTP + chaîne contenant les en-têtes HTTP </para> </listitem> </varlistentry> @@ -77,6 +77,17 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_message</function></member> + <member><function>http_parse_cookie</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml diff -u phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml:1.4 phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml:1.5 --- phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml:1.4 Sun Oct 15 15:52:02 2006 +++ phpdoc-fr/reference/http/functions/parsers/http-parse-message.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-parse-message"> @@ -27,7 +27,7 @@ <term><parameter>message</parameter></term> <listitem> <para> - Chaîne contenant un message HTTP simple ou plusieurs messages HTTP consécutifs + chaîne contenant un message HTTP simple ou plusieurs messages HTTP consécutifs </para> </listitem> </varlistentry> @@ -37,7 +37,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Une structure d'&objet;s hiérarchiques des messages analysés. + Retourne une structure d'&objet;s hiérarchiques des messages analysés. </para> </refsect1> <refsect1 role="examples"> @@ -86,6 +86,17 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_headers</function></member> + <member>la classe <link linkend="http.HttpMessage"><classname>HttpMessage</classname></link></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml diff -u phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml:1.3 phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml:1.4 --- phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml:1.3 Sat Mar 31 10:06:52 2007 +++ phpdoc-fr/reference/http/functions/parsers/http-parse-params.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-parse-params"> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>object</type><methodname>http_parse_params</methodname> - <methodparam choice="opt"><type>string</type><parameter>param</parameter></methodparam> + <methodparam><type>string</type><parameter>param</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags = HTTP_PARAMS_DEFAULT</parameter></methodparam> </methodsynopsis> <para> @@ -20,7 +20,7 @@ </para> <para> Voir la <link linkend="http.constants.params">table des constantes analysées</link> pour - les valeurs possibles de l'argument <varname>flags</varname>. + les valeurs possibles de l'argument <parameter>flags</parameter>. </para> </refsect1> @@ -51,7 +51,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne la liste des paramètres. + Retourne la liste des paramètres sous la forme d'un objet stdClass. </para> </refsect1> @@ -88,6 +88,17 @@ </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_parse_headers</function></member> + <member><function>http_parse_cookie</function></member> + <member><function>http_parse_message</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-redirect.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-redirect.xml diff -u phpdoc-fr/reference/http/functions/responses/http-redirect.xml:1.3 phpdoc-fr/reference/http/functions/responses/http-redirect.xml:1.4 --- phpdoc-fr/reference/http/functions/responses/http-redirect.xml:1.3 Sat Mar 31 10:06:52 2007 +++ phpdoc-fr/reference/http/functions/responses/http-redirect.xml Sun May 13 13:29:48 2007 @@ -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.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-redirect"> @@ -22,23 +22,15 @@ Effectue une redirection vers l'URL fournie. </para> <para> - L'URL fournie sera traité par la fonction <function>http_build_url</function>, le tableau de paramètres - sera traité par la fonction <function>http_build_str</function> et l'identifiant de session sera ajouté si - la session est active. - </para> - <para> - Le code réponse HTTP sera définit en accord avec le statut. - </para> - <para> + L'<parameter>url</parameter> fournie sera traité par la fonction <function>http_build_url</function>, + le paramètre <parameter>params</parameter> sera traité par la fonction <function>http_build_str</function> + et l'identifiant de session sera ajouté si + le paramètre <parameter>session</parameter> vaut true. Vous pouvez utiliser une des <link linkend="http.constants.redirect">constantes de redirection</link> pour plus de confort. - </para> - <para> Repportez-vous à la <ulink url="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3">RFC 2616</ulink> pour connaître le code réponse de redirection à utiliser et dans quelle situation. - </para> - <para> - Par défaut, &php; décidera quel staut à la réponse convient le mieux. + Par défaut, &php; décidera quel statut à la réponse convient le mieux. </para> <para> Pour rester conforme à la RFC, "Redirecting to <a>URL</a>." doit être affiché, @@ -46,7 +38,8 @@ </para> <para> Une entrée sera écrite dans l'historique de la redirection, si le &link.http.configuration; - <emphasis>http.log.redirect</emphasis> est définit et que la redirection réussit. + <link linkend="http.configuration.log.redirect">http.log.redirect</link> est définit et que la + redirection réussit. </para> </refsect1> @@ -96,6 +89,43 @@ &see.http.configuration.force_exit; </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>http_redirect</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +http_redirect("relpath", array("name" => "value"), true, HTTP_REDIRECT_PERM); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +HTTP/1.1 301 Moved Permanently +X-Powered-By: PHP/5.2.2 +Content-Type: text/html +Location: http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc + +Redirecting to <a href="http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc">http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc</a>. +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-content-disposition.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-content-disposition"> @@ -12,16 +12,15 @@ &reftitle.description; <methodsynopsis> <type>bool</type><methodname>http_send_content_disposition</methodname> - <methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>inline = FALSE</parameter></methodparam> </methodsynopsis> <para> - Envoi l'en-tête Content-Disposition. L'en-tête Content-Disposition est très utile - si les données actuellement envoyées proviennent d'un fichier ou quelque chose de - similaire, qui doit être "sauvegardé" par le client/utilisateur (i.e. par - les navigateurs via le popup "Enregistrer sous..."). + Envoi l'en-tête <literal>Content-Disposition</literal>. + &http.content.disposition; </para> + ¬e.http.send.API; </refsect1> <refsect1 role="parameters"> @@ -40,7 +39,7 @@ <term><parameter>inline</parameter></term> <listitem> <para> - Si défini à &true; et que l'agent utilisateur sait comme gérer le type de contenu, + si défini à &true; et que l'agent utilisateur sait comme gérer le type de contenu, ce paramètre fera probablement ne pas apparaître le popup </para> </listitem> @@ -54,6 +53,19 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_file</function></member> + <member><function>http_send_stream</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-content-type.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-content-type"> @@ -16,9 +16,9 @@ </methodsynopsis> <para> - Envoi le type de contenu d'entité envoyé. Ceci est particulièrement important - si vous utilisez l'API <function>http_send</function>. + Envoi le type de contenu d'entité envoyé. </para> + ¬e.http.send.API; </refsect1> <refsect1 role="parameters"> @@ -42,6 +42,27 @@ &return.success; </para> </refsect1> + + <refsect1 role="errors"> + &reftitle.errors; + <para> + Émet une alerte de niveau <constant>E_WARNING</constant> lorsque le <parameter>content_type</parameter> + ne semble pas contenir une partie primaire et secondaire. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_file</function></member> + <member><function>http_send_stream</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-data.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-data.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-data.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-data.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-data.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-data.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-data"> @@ -41,6 +41,21 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_file</function></member> + <member><function>http_send_stream</function></member> + <member><function>http_throttle</function></member> + <member><function>http_send_content_type</function></member> + <member><function>http_send_content_disposition</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-file.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-file.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-file.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-file.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-file.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-file.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-file"> @@ -18,6 +18,18 @@ <para> Envoi un fichier avec le support (multiple) des requêtes. </para> + <para> + Le fonctionnement de cette fonction ainsi que ses futures actions dépendent + des &link.http.configuration;s : + <link linkend="http.configuration.send.not_found_404">http.send.not_found_404</link> + &listendand; <link linkend="http.configuration.log.not_found">http.log.not_found</link>. + </para> + <para> + Si l'&link.http.configuration; <link linkend="http.configuration.send.not_found_404">http.send.not_found_404</link> + est active et l'&link.http.configuration; <link linkend="http.configuration.log.not_found">http.log.not_found</link> + pointe vers un fichier accessible en écriture, un message sera écrit lorsque le paramètre + <parameter>file</parameter> n'aura pu être trouvé. + </para> </refsect1> <refsect1 role="parameters"> @@ -41,6 +53,54 @@ &return.success; </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>http_send_file</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +http_send_content_disposition("document.pdf", true); +http_send_content_type("application/pdf"); +http_throttle(0.1, 2048); +http_send_file("../report.pdf"); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +HTTP/1.1 206 Partial Content +X-Powered-By: PHP/5.2.2 +Accept-Ranges: bytes +Content-Length: 12345 +Content-Range: bytes 0-12344 +Content-Type: application/pdf +Content-Disposition: inline; filename="document.pdf" + +%PDF... +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_stream</function></member> + <member><function>http_throttle</function></member> + <member><function>http_send_content_type</function></member> + <member><function>http_send_content_disposition</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml:1.3 phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml:1.4 --- phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml:1.3 Thu Feb 15 23:07:58 2007 +++ phpdoc-fr/reference/http/functions/responses/http-send-last-modified.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-last-modified"> @@ -16,8 +16,9 @@ </methodsynopsis> <para> - Envoi un en-tête <emphasis>Last-Modified</emphasis> avec une date HTTP valide. + Envoi un en-tête <literal>Last-Modified</literal> avec une date HTTP valide. </para> + ¬e.http.send.API; </refsect1> <refsect1 role="parameters"> @@ -42,6 +43,16 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-status.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-status.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-status.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-status.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-status.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-status.xml Sun May 13 13:29:48 2007 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-status"> <refnamediv> <refname>http_send_status</refname> - <refpurpose>Envoi le statut</refpurpose> + <refpurpose>Envoi le statut réponse HTTP</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -28,7 +28,7 @@ <term><parameter>status</parameter></term> <listitem> <para> - code statut HTTP + code statut HTTP (100-599) </para> </listitem> </varlistentry> @@ -41,6 +41,16 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-send-stream.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-send-stream.xml diff -u phpdoc-fr/reference/http/functions/responses/http-send-stream.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-send-stream.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-send-stream.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-send-stream.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-send-stream"> @@ -41,6 +41,21 @@ &return.success; </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_file</function></member> + <member><function>http_throttle</function></member> + <member><function>http_send_content_type</function></member> + <member><function>http_send_content_disposition</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/responses/http-throttle.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/responses/http-throttle.xml diff -u phpdoc-fr/reference/http/functions/responses/http-throttle.xml:1.2 phpdoc-fr/reference/http/functions/responses/http-throttle.xml:1.3 --- phpdoc-fr/reference/http/functions/responses/http-throttle.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/responses/http-throttle.xml Sun May 13 13:29:48 2007 @@ -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.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-throttle"> @@ -12,15 +12,20 @@ &reftitle.description; <methodsynopsis> <type>void</type><methodname>http_throttle</methodname> - <methodparam choice="opt"><type>double</type><parameter>sec</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>sec</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>bytes = 40960</parameter></methodparam> </methodsynopsis> <para> - Définit le délai d'étranglement et envoie la taille du buffer à utiliser avec l'API http_send(). - Fournit un méchanisme d'étranglement basic, qui va gérer le processus courant de la réponse - tant que la totalité n'a pas été envoyée. + Définit le délai d'étranglement et envoie la taille du buffer. </para> + ¬e.http.send.API; + ¬e.http.throttling.yields.process; + <note> + <para> + &http.maynotwork.SAPI; FastCGI. + </para> + </note> </refsect1> <refsect1 role="parameters"> @@ -46,6 +51,7 @@ </variablelist> </para> </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -69,6 +75,19 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>http_send_data</function></member> + <member><function>http_send_file</function></member> + <member><function>http_send_stream</function></member> + <member>&http.response.class.php51;</member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/urls/http-build-str.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/urls/http-build-str.xml diff -u phpdoc-fr/reference/http/functions/urls/http-build-str.xml:1.2 phpdoc-fr/reference/http/functions/urls/http-build-str.xml:1.3 --- phpdoc-fr/reference/http/functions/urls/http-build-str.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/urls/http-build-str.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-build-str"> @@ -55,12 +55,24 @@ </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Retourne l'URL construite sous la forme d'une chaîne de caractères ou &false; si une erreur survient. </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member>standard <function>http_build_query</function></member> + <member><function>http_build_url</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/http/functions/urls/http-build-url.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/http/functions/urls/http-build-url.xml diff -u phpdoc-fr/reference/http/functions/urls/http-build-url.xml:1.2 phpdoc-fr/reference/http/functions/urls/http-build-url.xml:1.3 --- phpdoc-fr/reference/http/functions/urls/http-build-url.xml:1.2 Sun Sep 10 16:23:44 2006 +++ phpdoc-fr/reference/http/functions/urls/http-build-url.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.http-build-url"> @@ -26,6 +26,7 @@ </para> </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -68,6 +69,7 @@ </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> @@ -103,6 +105,17 @@ </example> </para> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>parse_url</function></member> + <member><function>http_build_str</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ibm_db2/configure.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/ibm_db2/configure.xml diff -u phpdoc-fr/reference/ibm_db2/configure.xml:1.4 phpdoc-fr/reference/ibm_db2/configure.xml:1.5 --- phpdoc-fr/reference/ibm_db2/configure.xml:1.4 Thu Sep 1 22:48:57 2005 +++ phpdoc-fr/reference/ibm_db2/configure.xml Sun May 13 13:29:48 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.4 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <section id="ibm-db2.installation"> &reftitle.install; <para> @@ -34,6 +35,32 @@ La commande <command>configure</command> prend la valeur par défaut de <filename class='directory'>/opt/IBM/db2/V8.1</filename>. </para> + <para> + <note> + <title>Note pour les utilisateurs de IIS</title> + <para> + Si vous utilisez le driver ibm_db2 avec IIS (Microsoft Internet Information Server), + vous devez faire ce qui suit : + </para> + <para> + <simplelist> + <member> + Installez DB2 avec le système de sécurité étendu. + </member> + <member> + Ajoutez le chemin vers le binaire &php; à la variable d'environnement du système (PATH) + (default C:\php\). + </member> + <member> + Créé une autre variable d'environnement contenant le chemin vers le fichier PHP.INI (eg: PHPRC = C:\php\). + </member> + <member> + Ajoutez l'utilisateur IUSR_COMPUTERNAME au groupe DB2USERS. + </member> + </simplelist> + </para> + </note> + </para> </section> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ibm_db2/constants.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/ibm_db2/constants.xml diff -u phpdoc-fr/reference/ibm_db2/constants.xml:1.7 phpdoc-fr/reference/ibm_db2/constants.xml:1.8 --- phpdoc-fr/reference/ibm_db2/constants.xml:1.7 Sat Feb 25 22:38:08 2006 +++ phpdoc-fr/reference/ibm_db2/constants.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.7 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <section id="ibm-db2.constants"> @@ -13,7 +13,7 @@ (&integer;) </term> <listitem> - <simpara> + <simpara> Spécifie que les données binaires seront retournées comme elles sont. Ceci est le mode par défaut. </simpara> @@ -205,6 +205,28 @@ </simpara> </listitem> </varlistentry> + <varlistentry> + <term> + <constant>DB2_DEFERRED_PREPARE_ON</constant> + (&integer;) + </term> + <listitem> + <simpara> + Spécifie que la préparation déferrée doit être active pour la ressource de requête spécifiée. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>DB2_DEFERRED_PREPARE_OFF</constant> + (&integer;) + </term> + <listitem> + <simpara> + Spécifie que la préparation déferrée doit être désactivée pour la ressource de requête spécifiée. + </simpara> + </listitem> + </varlistentry> </variablelist> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml diff -u phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml:1.7 phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml:1.8 --- phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml:1.7 Sat Nov 18 19:29:32 2006 +++ phpdoc-fr/reference/ibm_db2/functions/db2-connect.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.10 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.db2-connect"> @@ -41,7 +41,7 @@ Pour une connexion non cataloguée de la base de données, <parameter>database</parameter> représente une chaîne complète de connexion qui est dans le format suivant : - <literal>DRIVER={IBM DB2 ODBC DRIVER};DATABASE=<parameter>database</parameter>;HOSTNAME=<parameter>hostname</parameter>;PORT=<parameter>port</parameter>;PROTOCOL=TCPIP;UID=<parameter>username</parameter>;PWD=<parameter>password</parameter>;</literal> + <literal>DATABASE=<parameter>database</parameter>;HOSTNAME=<parameter>hostname</parameter>;PORT=<parameter>port</parameter>;PROTOCOL=TCPIP;UID=<parameter>username</parameter>;PWD=<parameter>password</parameter>;</literal> où les paramètres représentent les valeurs suivantes : <variablelist> <varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/ini.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/image/ini.xml diff -u phpdoc-fr/reference/image/ini.xml:1.10 phpdoc-fr/reference/image/ini.xml:1.11 --- phpdoc-fr/reference/image/ini.xml:1.10 Tue Jul 27 16:17:33 2004 +++ phpdoc-fr/reference/image/ini.xml Sun May 13 13:29:48 2007 @@ -1,15 +1,24 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <section id="image.configuration"> &reftitle.runtime; <para> Il n'y a pas de configuration spécifique pour les images mais vous êtes peut être intéressé par les directives de l'<link linkend="ref.exif">extension exif</link>. </para> -</section> + <warning> + <para> + Les fonctions sur les images sont très gourmandes en terme de mémoire. + Assurez-vous de définir une valeur assez importante pour <link + linkend="ini.memory-limit">memory_limit</link>. + </para> + </warning> + +</section> <!-- Keep this comment at the end of the file Local variables: @@ -30,5 +39,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/mcrypt/reference.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/mcrypt/reference.xml diff -u phpdoc-fr/reference/mcrypt/reference.xml:1.15 phpdoc-fr/reference/mcrypt/reference.xml:1.16 --- phpdoc-fr/reference/mcrypt/reference.xml:1.15 Fri Dec 15 18:21:52 2006 +++ phpdoc-fr/reference/mcrypt/reference.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.18 Maintainer: didou Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> <!-- Purpose: mathcrypto.crypto --> <!-- Membership: bundled, external --> <!-- Reviewed: yes --> @@ -48,10 +48,12 @@ &reference.mcrypt.configure; &reference.mcrypt.ini; - + <section id="mcrypt.resources"> &reftitle.resources; - &no.resource; + <para> + <function>mcrypt_module_open</function> retourne un descripteur de cryptage. + </para> </section> &reference.mcrypt.constants; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/mcve/reference.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/mcve/reference.xml diff -u phpdoc-fr/reference/mcve/reference.xml:1.14 phpdoc-fr/reference/mcve/reference.xml:1.15 --- phpdoc-fr/reference/mcve/reference.xml:1.14 Fri Nov 18 05:30:28 2005 +++ phpdoc-fr/reference/mcve/reference.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.11 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Purpose: creditcard --> <!-- Membership: pecl --> <!-- Reviewed: yes --> @@ -54,6 +54,14 @@ </para> </section> + <section id="mcve.resources"> + &reftitle.resources; + <para> + Cette extension définit une ressource MCVE_CONN retournée + par la fonction <function>m_initconn</function>. + </para> + </section> + &reference.mcve.constants; </partintro> @@ -61,6 +69,7 @@ &reference.mcve.functions; </reference> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -80,5 +89,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/mysql/functions/mysql-real-escape-string.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml diff -u phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml:1.23 phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml:1.24 --- phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml:1.23 Tue Jan 23 19:58:21 2007 +++ phpdoc-fr/reference/mysql/functions/mysql-real-escape-string.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> -<!-- EN-Revision: 1.27 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.24 $ --> +<!-- EN-Revision: 1.28 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.mysql-real-escape-string"> @@ -140,16 +140,23 @@ } else { + // Annule les effets magic_quotes_gpc/magic_quotes_sybase sur ces variables si ON. + if(get_magic_quotes_gpc()) { - $product_name = stripslashes($_POST['product_name']); - $product_description = stripslashes($_POST['product_description']); + if(ini_get('magic_quotes_sybase')) { + $product_name = str_replace("''", "'", $_POST['product_name']); + $product_description = str_replace("''", "'", $_POST['product_description']); + } else { + $product_name = stripslashes($_POST['product_name']); + $product_description = stripslashes($_POST['product_description']); + } } else { $product_name = $_POST['product_name']; $product_description = $_POST['product_description']; } // Faire une requête sécurisée - $query = sprintf("INSERT INTO products (`name`, `description`, `user_id`) VALUES ('%s', '%s', '%d')", + $query = sprintf("INSERT INTO products (`name`, `description`, `user_id`) VALUES ('%s', '%s', %d)", mysql_real_escape_string($product_name, $link), mysql_real_escape_string($product_description, $link), $_POST['user_id']); http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/net_gopher/configure.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/net_gopher/configure.xml diff -u phpdoc-fr/reference/net_gopher/configure.xml:1.2 phpdoc-fr/reference/net_gopher/configure.xml:1.3 --- phpdoc-fr/reference/net_gopher/configure.xml:1.2 Sun Mar 11 10:49:44 2007 +++ phpdoc-fr/reference/net_gopher/configure.xml Sun May 13 13:29:48 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <section id="net-gopher.install"> @@ -10,7 +10,7 @@ </para> <para> &pecl.info; - <ulink url="&url.pecl;net_gopher">&url.pecl;net_gopher</ulink> + <ulink url="&url.pecl.package;net_gopher">&url.pecl.package;net_gopher</ulink> </para> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/oggvorbis/configure.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/oggvorbis/configure.xml diff -u phpdoc-fr/reference/oggvorbis/configure.xml:1.3 phpdoc-fr/reference/oggvorbis/configure.xml:1.4 --- phpdoc-fr/reference/oggvorbis/configure.xml:1.3 Mon Mar 19 21:09:14 2007 +++ phpdoc-fr/reference/oggvorbis/configure.xml Sun May 13 13:29:48 2007 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <section id="oggvorbis.installation"> &reftitle.install; <para> &pecl.info; - <ulink url="&url.pecl;oggvorbis">&url.pecl;oggvorbis</ulink> + <ulink url="&url.pecl.package;oggvorbis">&url.pecl.package;oggvorbis</ulink> </para> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/paradox/configure.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/paradox/configure.xml diff -u phpdoc-fr/reference/paradox/configure.xml:1.4 phpdoc-fr/reference/paradox/configure.xml:1.5 --- phpdoc-fr/reference/paradox/configure.xml:1.4 Mon Mar 19 21:09:15 2007 +++ phpdoc-fr/reference/paradox/configure.xml Sun May 13 13:29:48 2007 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <section id="paradox.installation"> &reftitle.install; <para> &pecl.info; - <ulink url="&url.pecl;paradox">&url.pecl;paradox</ulink> + <ulink url="&url.pecl.package;paradox">&url.pecl.package;paradox</ulink> </para> <para> Assurez-vous d'avoir installé pxlib avant.