cvs: phpdoc /fr/appendices migration4.xml phpdevel.xml /fr/features file-upload.xml http-auth.xml /fr/functions datetime.xml filesystem.xml
ibase.xml imap.xml ldap.xml mbstring.xml ming.xml misc.xml mnogosearch.xml pcre.xml pdf.xml pgsql.xml sesam.xml strings.xml var.xml yaz.xml
/fr/language variables.xml

From: Date: Tue, 29 Jan 2002 23:18:22 +0000
Subject: cvs: phpdoc /fr/appendices migration4.xml phpdevel.xml /fr/features file-upload.xml http-auth.xml /fr/functions datetime.xml filesystem.xml
ibase.xml imap.xml ldap.xml mbstring.xml ming.xml misc.xml mnogosearch.xml pcre.xml pdf.xml pgsql.xml sesam.xml strings.xml var.xml yaz.xml
/fr/language variables.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969341732@lists.php.net to get a copy of this message
hholzgra Tue Jan 29 18:18:22 2002 EDT Modified files: /phpdoc/fr/appendices migration4.xml phpdevel.xml /phpdoc/fr/features file-upload.xml http-auth.xml /phpdoc/fr/functions datetime.xml filesystem.xml ibase.xml imap.xml ldap.xml mbstring.xml ming.xml misc.xml mnogosearch.xml pcre.xml pdf.xml pgsql.xml sesam.xml strings.xml var.xml yaz.xml /phpdoc/fr/language variables.xml Log: entity fixes

Index: phpdoc/fr/appendices/migration4.xml diff -u phpdoc/fr/appendices/migration4.xml:1.10 phpdoc/fr/appendices/migration4.xml:1.11 --- phpdoc/fr/appendices/migration4.xml:1.10 Wed Dec 12 15:48:43 2001 +++ phpdoc/fr/appendices/migration4.xml Tue Jan 29 18:18:13 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <appendix id="migration4"> <title>Migration de PHP 3.0 &agrave; PHP 4.0</title> <sect1 id="migration4.changes"> @@ -231,11 +231,11 @@ erreurs, hormis les alertes de style, qui sont rep&eacute;r&eacute;es par la constante : E_NOTICE. Il suffit d'ajouter la valeur suivante dans le fichier <filename>php.ini</filename>: - <literal>error_reporting = E_ALL & ~ ( E_NOTICE )</literal>. + <literal>error_reporting = E_ALL &amp; ~ ( E_NOTICE )</literal>. Si vous voulez supprimer en plus les alertes, vous pouvez ajouter la constante appropri&eacute;e, en la combinant avec l'op&eacute;rateur OU logique '|': - <literal>error_reporting= E_ALL & ~ ( E_NOTICE | E_WARNING )</literal>. + <literal>error_reporting= E_ALL &amp; ~ ( E_NOTICE | E_WARNING )</literal>. </para> <warning> <para> Index: phpdoc/fr/appendices/phpdevel.xml diff -u phpdoc/fr/appendices/phpdevel.xml:1.17 phpdoc/fr/appendices/phpdevel.xml:1.18 --- phpdoc/fr/appendices/phpdevel.xml:1.17 Wed Dec 12 15:48:43 2001 +++ phpdoc/fr/appendices/phpdevel.xml Tue Jan 29 18:18:14 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <appendix id="phpdevel"> <title>D&eacute;veloppement PHP</title> <sect1 id="phpdevel-addfunc"> @@ -34,7 +34,7 @@ </programlisting> </example> NOTE: Les arguments peuvent &ecirc;tre pass&eacute; par valeur ou par - r&eacute;f&eacute;rence. Dans les deux cas, vous devez passer &(pval *) + r&eacute;f&eacute;rence. Dans les deux cas, vous devez passer &amp;(pval *) &agrave; getParameters. Si vous voulez v&eacute;rifier que le n-i&egrave;me param&egrave;tre a &eacute;t&eacute; pass&eacute; par r&eacute;f&eacute;rence ou par valeur, vous devez utiliser la fonction Index: phpdoc/fr/features/file-upload.xml diff -u phpdoc/fr/features/file-upload.xml:1.12 phpdoc/fr/features/file-upload.xml:1.13 --- phpdoc/fr/features/file-upload.xml:1.12 Wed Dec 12 15:48:50 2001 +++ phpdoc/fr/features/file-upload.xml Tue Jan 29 18:18:14 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <chapter id="features.file-upload"> <title>Gestion des chargements de fichier</title> <sect1 id="features.file-upload.post-method"> @@ -155,7 +155,7 @@ <function>is_uploaded_file</function> et <function>move_uploaded_file</function>. </para> <programlisting role="php"> -&lt?;php +&lt;?;php if (is_uploaded_file($userfile)) { copy($userfile, "/dossier/des/fichiers/telecharges/"); } else { @@ -170,7 +170,7 @@ chose comme ceci : </para> <programlisting role="php"> -&lt?;php +&lt;?;php /* Test du fichier t&eacute;l&eacute;charg&eacute;. */ function is_uploaded_file($filename) { if (!$tmp_file = get_cfg_var('upload_tmp_dir')) { Index: phpdoc/fr/features/http-auth.xml diff -u phpdoc/fr/features/http-auth.xml:1.10 phpdoc/fr/features/http-auth.xml:1.11 --- phpdoc/fr/features/http-auth.xml:1.10 Wed Dec 12 15:48:51 2001 +++ phpdoc/fr/features/http-auth.xml Tue Jan 29 18:18:15 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <chapter id="features.http-auth"> <title>Authentification HTTP avec PHP</title> <simpara> @@ -86,7 +86,7 @@ echo &quot;Vous devez entrer un nom d'utilisateur valide et un mot de passe correct pour acc&eacute;der &agrave; cette ressource\n&quot;; exit; } - if(!isset($PHP_AUTH_USER) || ($SeenBefore == 1 && !strcmp($OldAuth, $PHP_AUTH_USER)) ) { + if(!isset($PHP_AUTH_USER) || ($SeenBefore == 1 &amp;&amp; !strcmp($OldAuth, $PHP_AUTH_USER)) ) { authenticate(); } else { Index: phpdoc/fr/functions/datetime.xml diff -u phpdoc/fr/functions/datetime.xml:1.24 phpdoc/fr/functions/datetime.xml:1.25 --- phpdoc/fr/functions/datetime.xml:1.24 Wed Dec 12 15:49:04 2001 +++ phpdoc/fr/functions/datetime.xml Tue Jan 29 18:18:15 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.24 $ --> +<!-- $Revision: 1.25 $ --> <reference id="ref.datetime"> <title>Dates et heures</title> <titleabbrev>Date/heure</titleabbrev> @@ -704,7 +704,7 @@ return ((float)$usec + (float)$sec); } $time_start = getmicrotime(); - for ($i=0; $i < 1000; $i++){ + for ($i=0; $i &lt; 1000; $i++){ //ne rien faire, pendant un millier de fois... } $time_end = getmicrotime(); Index: phpdoc/fr/functions/filesystem.xml diff -u phpdoc/fr/functions/filesystem.xml:1.28 phpdoc/fr/functions/filesystem.xml:1.29 --- phpdoc/fr/functions/filesystem.xml:1.28 Wed Dec 12 15:49:11 2001 +++ phpdoc/fr/functions/filesystem.xml Tue Jan 29 18:18:15 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.28 $ --> +<!-- $Revision: 1.29 $ --> <reference id="ref.filesystem"> <title>Syst&egrave;me de fichiers</title> <titleabbrev>Syst&egrave;me de fichiers</titleabbrev> @@ -592,7 +592,7 @@ $num = count ($data); print "&lt;p> $num champs dans la ligne $row: &lt;br&gt;"; $row++; - for ($c=0; $c<$num; $c++) { + for ($c=0; $c&lt;$num; $c++) { print $data[$c] . "&lt;br&gt;"; } } Index: phpdoc/fr/functions/ibase.xml diff -u phpdoc/fr/functions/ibase.xml:1.11 phpdoc/fr/functions/ibase.xml:1.12 --- phpdoc/fr/functions/ibase.xml:1.11 Wed Dec 12 15:49:17 2001 +++ phpdoc/fr/functions/ibase.xml Tue Jan 29 18:18:16 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <reference id="ref.ibase"> <title>InterBase</title> <titleabbrev>InterBase</titleabbrev> @@ -7,7 +7,7 @@ <para> Interbase est une base de donn&eacute;es populaire, cr&eacute;&eacute;e par Borland/Inprise. Pour plus d'informations sur Interbase, allez &agrave; - <ulink url="&url.ibase">&url.ibase;</ulink>. + <ulink url="&url.ibase;">&url.ibase;</ulink>. Par ailleurs, Interbase vient de rejoindre le mouvement Open Source! </para> <note> @@ -354,7 +354,7 @@ // helio@helio.com.br 08-Dec-2000 02:53 $rs=ibase_query("Select * from unetable"); $coln = ibase_num_fields($rs); -for ($i=0 ; $i < $coln ; $i++) { +for ($i=0 ; $i &lt; $coln ; $i++) { $col_info = ibase_field_info($rs, $i); echo "nom: ".$col_info['name']."\n"; echo "alias: ".$col_info['alias']."\n"; Index: phpdoc/fr/functions/imap.xml diff -u phpdoc/fr/functions/imap.xml:1.17 phpdoc/fr/functions/imap.xml:1.18 --- phpdoc/fr/functions/imap.xml:1.17 Wed Dec 12 15:49:20 2001 +++ phpdoc/fr/functions/imap.xml Tue Jan 29 18:18:16 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <reference id="ref.imap"> <title>IMAP</title> <titleabbrev>IMAP</titleabbrev> @@ -83,7 +83,7 @@ (en anglais): <ulink url="&url.email.book;">Programming Internet Email</ulink> par David Wood et <ulink url="&url.imap.book;">Managing - IMAP</ulink> par Dianna Mullet & Kevin Mullet. + IMAP</ulink> par Dianna Mullet &amp; Kevin Mullet. </para> </partintro> <refentry id="function.imap-8bit"> Index: phpdoc/fr/functions/ldap.xml diff -u phpdoc/fr/functions/ldap.xml:1.12 phpdoc/fr/functions/ldap.xml:1.13 --- phpdoc/fr/functions/ldap.xml:1.12 Wed Dec 12 15:49:23 2001 +++ phpdoc/fr/functions/ldap.xml Tue Jan 29 18:18:17 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <reference id="ref.ldap"> <title>LDAP</title> <titleabbrev>LDAP</titleabbrev> @@ -518,7 +518,7 @@ <title>Enum&eacute;rer tous les messages d'erreur LDAP</title> <programlisting role="php"> &lt;?php - for($i=0; $i<100; $i++) { + for($i=0; $i&lt;100; $i++) { printf("Error $i: %s&lt;br&gt;\n", ldap_str2err($i)); } ?&gt; @@ -805,7 +805,7 @@ $entry = ldap_first_entry($ds, $sr); $attrs = ldap_get_attributes($ds, $entry); echo $attrs["count"]." Attributs dans cette entr&eacute;e:&lt;p>"; - for ($i=0; $i<$attrs["compte"]; $i++) + for ($i=0; $i&lt;$attrs["compte"]; $i++) echo $attrs[$i]."&lt;br&gt;"; ?&gt; </programlisting> Index: phpdoc/fr/functions/mbstring.xml diff -u phpdoc/fr/functions/mbstring.xml:1.6 phpdoc/fr/functions/mbstring.xml:1.7 --- phpdoc/fr/functions/mbstring.xml:1.6 Sun Jan 6 19:09:54 2002 +++ phpdoc/fr/functions/mbstring.xml Tue Jan 29 18:18:17 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <reference id="ref.mbstring"> <title>Cha&icirc;nes de caract&egrave;res multi-octets</title> <titleabbrev>Cha&icirc;nes de caract&egrave;res multi-octets</titleabbrev> @@ -658,7 +658,7 @@ <example> <title>Exemple avec <function>mb_internal_encoding</function></title> <programlisting role="php"> -&lt?;php +&lt;?php /* Utilise l'encodage interne UTF-8 */ mb_internal_encoding("UTF-8"); /* Affiche l'encodage interne courant */ @@ -1286,7 +1286,7 @@ <example> <title>Exemple avec <function>mb_strimwidth</function></title> <programlisting role="php"> -&lt?;php +&lt;?php $str = mb_strimwidth($str, 0, 40, "..>"); ?&gt; </programlisting> Index: phpdoc/fr/functions/ming.xml diff -u phpdoc/fr/functions/ming.xml:1.9 phpdoc/fr/functions/ming.xml:1.10 --- phpdoc/fr/functions/ming.xml:1.9 Wed Dec 12 15:49:28 2001 +++ phpdoc/fr/functions/ming.xml Tue Jan 29 18:18:17 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <reference id="ref.ming"> <title>Ming pour Flash</title> <titleabbrev>Ming (Flash)</titleabbrev> @@ -719,7 +719,7 @@ $i1 = text(0xff, 0x33, 0x33, 0xff, 900, 1200, 800, 0.03, $thetext); $i2 = text(0x00, 0x33, 0xff, 0x7f, -560, 1200, 800, 0.04, $thetext); $i3 = text(0xff, 0xff, 0xff, 0x9f, 180, 1200, 800, 0.001, $thetext); - for($i=1; $i<=100; ++$i) + for($i=1; $i&lt;=100; ++$i) { $i1 = step($i1); $i2 = step($i2); @@ -1050,7 +1050,7 @@ $m-&gt;setDimension(320, 240); $i = $m-&gt;add($p); $i-&gt;moveTo(160, 120); - for($n=0; $n<=1.001; $n+=0.01) + for($n=0; $n&lt;=1.001; $n+=0.01) { $i-&gt;setRatio($n); $m-&gt;nextFrame(); @@ -1137,7 +1137,7 @@ $m = new SWFMovie(); $m-&gt;setDimension($b-&gt;getWidth(), $b-&gt;getHeight()); $i = $m-&gt;add($s); - for($n=0; $n<=20; ++$n) + for($n=0; $n&lt;=20; ++$n) { $i-&gt;multColor(1.0-$n/10, 1.0, 1.0); $i-&gt;addColor(0xff*$n/20, 0, 0); @@ -1394,7 +1394,7 @@ $m-&gt;setDimension($width, $height); $i = $m-&gt;add($p); $i-&gt;moveTo($width/2, $height/2); - for($n=0; $n<1.001; $n+=0.03) + for($n=0; $n&lt;1.001; $n+=0.03) { $i-&gt;setRatio($n); $m-&gt;nextFrame(); @@ -1861,15 +1861,15 @@ $m-&gt;setDimension(640, 480); $m-&gt;setBackground(0xcc, 0xcc, 0xcc); // d&eacute;cide un fond &agrave; damier - for($y=0; $y<480; $y+=40) + for($y=0; $y&lt;480; $y+=40) { - for($x=0; $x<640; $x+=80) + for($x=0; $x&lt;640; $x+=80) { $i = $m-&gt;add($c); $i-&gt;moveTo($x, $y); } $y+=40; - for($x=40; $x<640; $x+=80) + for($x=40; $x&lt;640; $x+=80) { $i = $m-&gt;add($c); $i-&gt;moveTo($x, $y); @@ -2125,7 +2125,7 @@ $m-&gt;setBackground(0xff, 0xff, 0xff); $i = $m-&gt;add($p); $i-&gt;moveTo(1500,1000); - for($r=0.0; $r<=1.0; $r+=0.1) + for($r=0.0; $r&lt;=1.0; $r+=0.1) { $i-&gt;setRatio($r); $m-&gt;nextFrame(); Index: phpdoc/fr/functions/misc.xml diff -u phpdoc/fr/functions/misc.xml:1.13 phpdoc/fr/functions/misc.xml:1.14 --- phpdoc/fr/functions/misc.xml:1.13 Wed Dec 12 15:49:29 2001 +++ phpdoc/fr/functions/misc.xml Tue Jan 29 18:18:19 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <reference id="ref.misc"> <title>Fonctions diverses</title> <titleabbrev>Divers</titleabbrev> @@ -503,7 +503,7 @@ &lt;HEAD&gt; &lt;TITLE&gt;Affichage de Source&lt;/TITLE&gt; &lt;/HEAD&gt; -&lt;BODY BGCOLOR=&quot;white&quot?&gt; +&lt;BODY BGCOLOR=&quot;white&quot;?&gt; &lt;?php $script = getenv (&quot;PATH_TRANSLATED&quot;); if(!$script) { Index: phpdoc/fr/functions/mnogosearch.xml diff -u phpdoc/fr/functions/mnogosearch.xml:1.10 phpdoc/fr/functions/mnogosearch.xml:1.11 --- phpdoc/fr/functions/mnogosearch.xml:1.10 Wed Dec 12 15:49:32 2001 +++ phpdoc/fr/functions/mnogosearch.xml Tue Jan 29 18:18:19 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <reference id="ref.mnogo"> <title>mnoGoSearch</title> <titleabbrev>mnoGoSearch</titleabbrev> @@ -50,7 +50,7 @@ </simpara> <simpara> Plus de d&eacute;tails sur le site officiel de mnoGoSearch : <ulink - url="&url.mnogo">&url.mnogo;</ulink>. + url="&url.mnogo;">&url.mnogo;</ulink>. </simpara> </partintro> <refentry id="function.udm-add-search-limit"> Index: phpdoc/fr/functions/pcre.xml diff -u phpdoc/fr/functions/pcre.xml:1.28 phpdoc/fr/functions/pcre.xml:1.29 --- phpdoc/fr/functions/pcre.xml:1.28 Wed Dec 12 15:49:40 2001 +++ phpdoc/fr/functions/pcre.xml Tue Jan 29 18:18:19 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.28 $ --> +<!-- $Revision: 1.29 $ --> <reference id="ref.pcre"> <title>Expressions r&eacute;guli&egrave;res compatibles Perl</title> <titleabbrev>PCRE</titleabbrev> @@ -452,7 +452,7 @@ // et les espaces. Il remplace aussi quelques entit&eacute;s HTML // courante en leur &eacute;quivalent texte. $search = array ("'&lt;script[?&gt;]*?&gt;.*?&lt;/script&gt;'si", // Supprime le javascript - "'&lt;[&#92;/&#92;!]*?[^&lt?&gt;]*?&gt;'si", // Supprime les balises HTML + "'&lt;[&#92;/&#92;!]*?[^&lt;?&gt;]*?&gt;'si", // Supprime les balises HTML "'([&#92;r&#92;n])[&#92;s]+'", // Supprime les espaces "'&amp;(quot|#34);'i", // Supprime les entites HTML "'&amp;(amp|#38);'i", @@ -2515,7 +2515,7 @@ attendu, et s'aper&ccedil;oit rapidement qu'il n'y a pas ce caract&egrave;re). </para> <para> - Si le masque utilis&eacute; est <literal>((?&gt;&#92;D+)|&;lt;&#92;d+&gt;)*[!?]</literal> + Si le masque utilis&eacute; est <literal>((?&gt;&#92;D+)|&lt;&#92;d+&gt;)*[!?]</literal> les s&eacute;quences de chiffres ne peuvent pas &ecirc;tre trouv&eacute;es, et l'&eacute;chec intervient rapidement. </para> Index: phpdoc/fr/functions/pdf.xml diff -u phpdoc/fr/functions/pdf.xml:1.18 phpdoc/fr/functions/pdf.xml:1.19 --- phpdoc/fr/functions/pdf.xml:1.18 Wed Dec 12 15:49:42 2001 +++ phpdoc/fr/functions/pdf.xml Tue Jan 29 18:18:19 2002 @@ -8,7 +8,7 @@ fichiers PDF, pour peu que vous ayez la biblioth&egrave;que PDF de Thomas Merz (disponible &agrave; : <ulink url="&url.pdf;">&url.pdf;</ulink> (site anglais)). Vous aurez - aussi besoin des librairies <ulink url="&url.jpeg">JPEG library</ulink>, + aussi besoin des librairies <ulink url="&url.jpeg;">JPEG library</ulink>, <ulink url="&url.tiff;">the TIFF library</ulink>, pour compiler cette librairie. Ces deux librairies posent pas mal de probl&egrave;mes lors de la configuration. Suivez attentivement les messages d'erreur. Index: phpdoc/fr/functions/pgsql.xml diff -u phpdoc/fr/functions/pgsql.xml:1.15 phpdoc/fr/functions/pgsql.xml:1.16 --- phpdoc/fr/functions/pgsql.xml:1.15 Wed Dec 12 15:49:43 2001 +++ phpdoc/fr/functions/pgsql.xml Tue Jan 29 18:18:19 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <reference id="ref.pgsql"> <title>PostgreSQL</title> <titleabbrev>PostgreSQL</titleabbrev> @@ -159,7 +159,7 @@ &lt;?php $result = pg_exec($conn, "INSERT INTO verlag VALUES ('Auteur')"); $cmdtuples = pg_cmdtuples($result); -echo $cmdtuples . " <- tuples modifi&eacute;s."; +echo $cmdtuples . " &lt;- tuples modifi&eacute;s."; ?&gt; </programlisting> </example> @@ -427,9 +427,9 @@ exit; } $arr = pg_fetch_array($result, 0); -echo $arr[0] . " <- array\n"; +echo $arr[0] . " &lt;- array\n"; $arr = pg_fetch_array($result, 1); -echo $arr["author"] . " <- array\n"; +echo $arr["author"] . " &lt;- array\n"; ?&gt; </programlisting> </example> Index: phpdoc/fr/functions/sesam.xml diff -u phpdoc/fr/functions/sesam.xml:1.9 phpdoc/fr/functions/sesam.xml:1.10 --- phpdoc/fr/functions/sesam.xml:1.9 Sun Jan 6 19:09:55 2002 +++ phpdoc/fr/functions/sesam.xml Tue Jan 29 18:18:20 2002 @@ -814,7 +814,7 @@ &lt;?php if (sesam_connect ("moncatalogue", "monschema", "toto")) { if (sesam_execimm("INSERT INTO matable VALUES (*, 'Petit Test', &lt;0, 8, 15&gt;)") - && sesam_execimm("INSERT INTO autretable VALUES (*, 'Autre Test', 1)")) + &amp;&amp; sesam_execimm("INSERT INTO autretable VALUES (*, 'Autre Test', 1)")) sesam_commit(); else sesam_rollback(); @@ -1830,7 +1830,7 @@ } // Affiche la table print &quot;&lt;TABLE BORDER&gt;\n&quot;; -while (($row = sesam_fetch_array ($result)) && count($row) &gt; 0) { +while (($row = sesam_fetch_array ($result)) &amp;&amp; count($row) &gt; 0) { print &quot; &lt;TR&gt;\n&quot;; print &quot; &lt;TD&gt;&quot;.htmlspecialchars($row[&quot;firstname&quot;]).&quot;&lt;/TD&gt;\n&quot;; print &quot; &lt;TD&gt;&quot;.htmlspecialchars($row[&quot;lastname&quot;]).&quot;&lt;/TD&gt;\n&quot;; Index: phpdoc/fr/functions/strings.xml diff -u phpdoc/fr/functions/strings.xml:1.48 phpdoc/fr/functions/strings.xml:1.49 --- phpdoc/fr/functions/strings.xml:1.48 Sun Jan 6 19:09:55 2002 +++ phpdoc/fr/functions/strings.xml Tue Jan 29 18:18:20 2002 @@ -645,8 +645,8 @@ </programlisting> </example> La variable <literal>$encoded</literal> va contenir d&eacute;sormais : "Hallo - &<sgmltag>amp</sgmltag>; &<sgmltag>lt</sgmltag>;Frau&<sgmltag>gt</sgmltag>; - &<sgmltag>amp</sgmltag>; Kr&<sgmltag>auml</sgmltag>;mer". + &amp;<sgmltag>amp</sgmltag>; &amp;<sgmltag>lt</sgmltag>;Frau&amp;<sgmltag>gt</sgmltag>; + &amp;<sgmltag>amp</sgmltag>; Kr&amp;<sgmltag>auml</sgmltag>;mer". </para> <para> <function>array_flip</function> est alors tr&egrave;s efficace pour inverser la @@ -1388,7 +1388,7 @@ <para> Le m&eacute;taphone a &eacute;t&eacute; d&eacute;velopp&eacute;e par Lawrence Philips &lt;lphilips@verity.com>. Elle est d&eacute;crite dans - ["Practical Algorithms for Programmers", Binstock & Rex, Addison Wesley, 1995]. + ["Practical Algorithms for Programmers", Binstock &amp; Rex, Addison Wesley, 1995]. <note> <para> C<function>metaphone</function> a &eacute;t&eacute; ajout&eacute;e @@ -2730,7 +2730,7 @@ } // versions plus anciennes que 4.0b3: $pos = strpos("b", $machaine); - if (is_string($pos) && !$pos) { + if (is_string($pos) &amp;&amp; !$pos) { // non trouv&eacute; } ?&gt; @@ -2916,7 +2916,7 @@ } // versions plus anciennes que 4.0b3: $pos = strpos("b", $mystring); -if (is_string($pos) && !$pos) { +if (is_string($pos) &amp;&amp; !$pos) { // non trouv&eacute; } ?&gt; Index: phpdoc/fr/functions/var.xml diff -u phpdoc/fr/functions/var.xml:1.19 phpdoc/fr/functions/var.xml:1.20 --- phpdoc/fr/functions/var.xml:1.19 Sun Jan 6 19:09:55 2002 +++ phpdoc/fr/functions/var.xml Tue Jan 29 18:18:20 2002 @@ -211,7 +211,7 @@ n'est pas une ressource valide, une erreur est g&eacute;n&eacute;r&eacute;e. <informalexample> <programlisting role="php"> -&lt?php +&lt;?php $c = mysql_connect(); echo get_resource_type($c)."\n"; // affiche : mysql link Index: phpdoc/fr/functions/yaz.xml diff -u phpdoc/fr/functions/yaz.xml:1.19 phpdoc/fr/functions/yaz.xml:1.20 --- phpdoc/fr/functions/yaz.xml:1.19 Wed Dec 12 15:49:59 2001 +++ phpdoc/fr/functions/yaz.xml Tue Jan 29 18:18:20 2002 @@ -771,7 +771,7 @@ Transport ILL (Profile/1)" (Note du Traducteur : mailez moi de l'aide!). Reportez-vous <ulink url="&url.yaz.ill;">ici</ulink> ou aux - <ulink url="&url.yaz.specs">sp&eacute;cification</ulink>. + <ulink url="&url.yaz.specs;">sp&eacute;cification</ulink>. Le param&egrave;tre <parameter>args</parameter> doit &ecirc;tre un tableau associatif, contenant les informations "Item Order" &agrave; envoyer. L'index du tableau est le nom ASN.1 correspondant au tag path. Par exemple, le num&eacute;ro ISBN sous Index: phpdoc/fr/language/variables.xml diff -u phpdoc/fr/language/variables.xml:1.30 phpdoc/fr/language/variables.xml:1.31 --- phpdoc/fr/language/variables.xml:1.30 Wed Dec 12 15:50:10 2001 +++ phpdoc/fr/language/variables.xml Tue Jan 29 18:18:20 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <chapter id="language.variables"> <title>Les variables</title> <sect1 id="language.variables.basics"> @@ -61,7 +61,7 @@ </para> <para> Pour assigner par r&eacute;f&eacute;rence, ajoutez simplement - un &amp (ET commercial) au d&eacute;but de la variable qui + un &amp; (ET commercial) au d&eacute;but de la variable qui est assign&eacute;e (la variable source). Dans l'exemple suivant, &quot;<literal>Mon nom est Pierre</literal>&quot; s'affichera deux fois :
« previous php.doc (#969341732) next »