cvs: phpdoc-fr /reference/imap/functions imap-append.xml imap-createmailbox.xml imap-delete.xml imap-fetch-overview.xml imap-get-quota.xml
imap-get-quotaroot.xml imap-getmailboxes.xml imap-list.xml imap-mailboxmsginfo.xml imap-open.xml imap-ping.xml imap-reopen.xml imap-set-quota.xml
imap-setflag-full.xml imap-status.xml

From: Date: Tue, 24 Jan 2006 18:05:44 +0000
Subject: cvs: phpdoc-fr /reference/imap/functions imap-append.xml imap-createmailbox.xml imap-delete.xml imap-fetch-overview.xml imap-get-quota.xml
imap-get-quotaroot.xml imap-getmailboxes.xml imap-list.xml imap-mailboxmsginfo.xml imap-open.xml imap-ping.xml imap-reopen.xml imap-set-quota.xml
imap-setflag-full.xml imap-status.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-4782@lists.php.net to get a copy of this message
yannick Tue Jan 24 18:05:44 2006 UTC Modified files: /phpdoc-fr/reference/imap/functions imap-append.xml imap-createmailbox.xml imap-delete.xml imap-fetch-overview.xml imap-getmailboxes.xml imap-get-quotaroot.xml imap-get-quota.xml imap-list.xml imap-mailboxmsginfo.xml imap-open.xml imap-ping.xml imap-reopen.xml imap-setflag-full.xml imap-set-quota.xml imap-status.xml Log: sync with EN

http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-append.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-append.xml diff -u phpdoc-fr/reference/imap/functions/imap-append.xml:1.10 phpdoc-fr/reference/imap/functions/imap-append.xml:1.11 --- phpdoc-fr/reference/imap/functions/imap-append.xml:1.10 Tue Nov 16 21:46:39 2004 +++ phpdoc-fr/reference/imap/functions/imap-append.xml Tue Jan 24 18:05:43 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-append"> <refnamediv> @@ -40,19 +40,19 @@ <![CDATA[ <?php -$stream = imap_open("{votre.hote.imap}INBOX.Drafts", "username", "password"); +$stream = imap_open("{imap.example.org}INBOX.Drafts", "username", "password"); $check = imap_check($stream); echo "Nombre de message avant ajout : ". $check->Nmsgs . "\n"; -imap_append($stream, "{votre.hote.imap}INBOX.Drafts" +imap_append($stream, "{imap.example.org}INBOX.Drafts" , "From: moi@mon.hote\r\n" . "To: toi@ton.hote\r\n" . "Subject: test\r\n" . "\r\n" . "Ceci est un message de test. Ignorez le\r\n" ); - + $check = imap_check($stream); echo "Nombre de messages après ajout : ". $check->Nmsgs . "\n"; @@ -84,4 +84,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/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-createmailbox.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-createmailbox.xml diff -u phpdoc-fr/reference/imap/functions/imap-createmailbox.xml:1.10 phpdoc-fr/reference/imap/functions/imap-createmailbox.xml:1.11 --- phpdoc-fr/reference/imap/functions/imap-createmailbox.xml:1.10 Tue Nov 16 21:46:39 2004 +++ phpdoc-fr/reference/imap/functions/imap-createmailbox.xml Tue Jan 24 18:05:43 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-createmailbox"> <refnamediv> @@ -31,9 +31,9 @@ <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "utilisateur", "mot_de_passe", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "utilisateur", "mot_de_passe", OP_HALFOPEN) or die("connexion impossible: " . imap_last_error()); - + $name1 = "nouvellephpbox"; $name2 = imap_utf7_encode("nouvellephpboxéx"); @@ -44,8 +44,8 @@ // Nous allons créer maintenant une nouvelle boîte aux lettres "phptestbox" // dans votre dossier inbox, vérifier son état et, finalement, la supprimer // pour remettre votre inbox dans son état initial. -if (@imap_createmailbox($mbox, imap_utf7_encode("{your.imap.host}INBOX.$newname"))) { - $status = @imap_status($mbox, "{your.imap.host}INBOX.$newname", SA_ALL); +if (@imap_createmailbox($mbox, imap_utf7_encode("{imap.example.org}INBOX.$newname"))) { + $status = @imap_status($mbox, "{imap.example.org}INBOX.$newname", SA_ALL); if ($status) { echo "Votre nouvelle boîte '$name1' est dans l'état suivant :<br />\n"; echo "Messages : " . $status->messages . "<br />\n"; @@ -53,8 +53,8 @@ echo "Non lus : " . $status->unseen . "<br />\n"; echo "UID suivant : " . $status->uidnext . "<br />\n"; echo "UID validité : " . $status->uidvalidity . "<br />\n"; - - if (imap_renamemailbox($mbox, "{your.imap.host}INBOX.$newname", "{your.imap.host}INBOX.$name2")) { + + if (imap_renamemailbox($mbox, "{imap.example.org}INBOX.$newname", "{imap.example.org}INBOX.$name2")) { echo "renommage de la boîte aux lettres '$name1' en '$name2'<br />\n"; $newname = $name2; } else { @@ -64,7 +64,7 @@ echo "imap_status sur la nouvelle boîte aux lettres a échoué : " . imap_last_error() . "<br />\n"; } - if(@imap_deletemailbox($mbox, "{your.imap.host}INBOX.$newname")) { + if(@imap_deletemailbox($mbox, "{imap.example.org}INBOX.$newname")) { echo "new mailbox supprimée pour remettre tout en état<br />\n"; } else { echo "imap_deletemailbox sur la nouvelle boîte aux lettres a échoué : " . implode("<br />\n", imap_errors()) . "<br />\n"; http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-delete.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-delete.xml diff -u phpdoc-fr/reference/imap/functions/imap-delete.xml:1.10 phpdoc-fr/reference/imap/functions/imap-delete.xml:1.11 --- phpdoc-fr/reference/imap/functions/imap-delete.xml:1.10 Tue Nov 16 21:46:39 2004 +++ phpdoc-fr/reference/imap/functions/imap-delete.xml Tue Jan 24 18:05:43 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-delete"> <refnamediv> @@ -46,9 +46,9 @@ <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}INBOX", "utilisateur", "mot_de_passe") +$mbox = imap_open("{imap.example.org}INBOX", "utilisateur", "mot_de_passe") or die ("connexion impossible: " . imap_last_error()); - + $check = imap_mailboxmsginfo($mbox); echo "Nombre de messages avant effacement : " . $check->Nmsgs . "<br />\n" ; http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-fetch-overview.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-fetch-overview.xml diff -u phpdoc-fr/reference/imap/functions/imap-fetch-overview.xml:1.12 phpdoc-fr/reference/imap/functions/imap-fetch-overview.xml:1.13 --- phpdoc-fr/reference/imap/functions/imap-fetch-overview.xml:1.12 Fri Jul 1 17:51:13 2005 +++ phpdoc-fr/reference/imap/functions/imap-fetch-overview.xml Tue Jan 24 18:05:43 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.10 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-fetch-overview"> <refnamediv> @@ -113,7 +113,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "username", "password") +$mbox = imap_open("{imap.example.org:143}", "username", "password") or die("can't connect: " . imap_last_error()); $overview = imap_fetch_overview($mbox, "2,4:6", 0); http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-getmailboxes.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-getmailboxes.xml diff -u phpdoc-fr/reference/imap/functions/imap-getmailboxes.xml:1.11 phpdoc-fr/reference/imap/functions/imap-getmailboxes.xml:1.12 --- phpdoc-fr/reference/imap/functions/imap-getmailboxes.xml:1.11 Fri Jul 1 17:51:13 2005 +++ phpdoc-fr/reference/imap/functions/imap-getmailboxes.xml Tue Jan 24 18:05:43 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-getmailboxes"> <refnamediv> @@ -82,10 +82,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "utilisateur", "mot_de_passe", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "utilisateur", "mot_de_passe", OP_HALFOPEN) or die("connexion impossible : " . imap_last_error()); - -$list = imap_getmailboxes($mbox, "{votre.hote.imap}", "*"); + +$list = imap_getmailboxes($mbox, "{imap.example.org}", "*"); if(is_array($list)) { reset($list); foreach ($list as $key => $val) { http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-get-quotaroot.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-get-quotaroot.xml diff -u phpdoc-fr/reference/imap/functions/imap-get-quotaroot.xml:1.8 phpdoc-fr/reference/imap/functions/imap-get-quotaroot.xml:1.9 --- phpdoc-fr/reference/imap/functions/imap-get-quotaroot.xml:1.8 Tue Nov 16 21:46:39 2004 +++ phpdoc-fr/reference/imap/functions/imap-get-quotaroot.xml Tue Jan 24 18:05:43 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-get-quotaroot"> <refnamediv> @@ -44,9 +44,9 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}","kalowsky","password",OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}","kalowsky","password",OP_HALFOPEN) or die("can't connect: ".imap_last_error()); - + $quota = imap_get_quotaroot($mbox, "INBOX"); if(is_array($quota)) { $storage = $quota_values['STORAGE']; @@ -57,11 +57,11 @@ echo "MESSAGE niveau d'utilisation : " . $message['usage']; echo "MESSAGE niveau d'utilisation : " . $message['limit']; - /* ... */ + /* ... */ + +} -} - -imap_close($mbox); +imap_close($mbox); ?> ]]> </programlisting> @@ -69,7 +69,7 @@ </para> <para> Voir aussi - <function>imap_open</function>, + <function>imap_open</function>, <function>imap_set_quota</function> et <function>imap_get_quota</function>. </para> @@ -95,4 +95,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/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-get-quota.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-get-quota.xml diff -u phpdoc-fr/reference/imap/functions/imap-get-quota.xml:1.14 phpdoc-fr/reference/imap/functions/imap-get-quota.xml:1.15 --- phpdoc-fr/reference/imap/functions/imap-get-quota.xml:1.14 Tue Nov 16 21:46:39 2004 +++ phpdoc-fr/reference/imap/functions/imap-get-quota.xml Tue Jan 24 18:05:43 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.13 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.14 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-get-quota"> <refnamediv> @@ -50,7 +50,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{votre.hote.imap}","mailadmin","mot de passe",OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}","mailadmin","mot de passe",OP_HALFOPEN) or die("Connexion impossible : ".imap_last_error()); $quota_value = imap_get_quota($mbox, "user.toto"); if(is_array($quota_value)) { @@ -81,9 +81,9 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}","mailadmin","password",OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}","mailadmin","password",OP_HALFOPEN) or die("Impossible de se connecter : ".imap_last_error()); - + $quota_values = imap_get_quota($mbox, "user.kalowsky"); if(is_array($quota_values)) { $storage = $quota_values['STORAGE']; @@ -131,4 +131,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/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-list.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-list.xml diff -u phpdoc-fr/reference/imap/functions/imap-list.xml:1.7 phpdoc-fr/reference/imap/functions/imap-list.xml:1.8 --- phpdoc-fr/reference/imap/functions/imap-list.xml:1.7 Fri Jul 1 17:51:13 2005 +++ phpdoc-fr/reference/imap/functions/imap-list.xml Tue Jan 24 18:05:44 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-list"> <refnamediv> @@ -27,10 +27,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN) or die("can't connect: ". imap_last_error()); -$list = imap_list($mbox, "{your.imap.host}", "*"); +$list = imap_list($mbox, "{imap.example.org}", "*"); if(is_array($list)) { reset($list); foreach ($list as $val) { http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-mailboxmsginfo.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-mailboxmsginfo.xml diff -u phpdoc-fr/reference/imap/functions/imap-mailboxmsginfo.xml:1.11 phpdoc-fr/reference/imap/functions/imap-mailboxmsginfo.xml:1.12 --- phpdoc-fr/reference/imap/functions/imap-mailboxmsginfo.xml:1.11 Wed Feb 23 13:02:23 2005 +++ phpdoc-fr/reference/imap/functions/imap-mailboxmsginfo.xml Tue Jan 24 18:05:44 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-mailboxmsginfo"> <refnamediv> @@ -78,9 +78,9 @@ <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}INBOX","utilisateur", "mot_de_passe") +$mbox = imap_open("{imap.example.org}INBOX","utilisateur", "mot_de_passe") or die("conexion impossible: ".imap_last_error()); - + $check = imap_mailboxmsginfo($mbox); if($check) { http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-open.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-open.xml diff -u phpdoc-fr/reference/imap/functions/imap-open.xml:1.17 phpdoc-fr/reference/imap/functions/imap-open.xml:1.18 --- phpdoc-fr/reference/imap/functions/imap-open.xml:1.17 Mon Dec 12 18:23:52 2005 +++ phpdoc-fr/reference/imap/functions/imap-open.xml Tue Jan 24 18:05:44 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.18 $ --> +<!-- EN-Revision: 1.10 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-open"> <refnamediv> @@ -259,10 +259,10 @@ <![CDATA[ <?php -$mbox = imap_open("{votre.hote.imap:143}", "nom_utilisateur", "mot de passe"); +$mbox = imap_open("{imap.example.org:143}", "nom_utilisateur", "mot de passe"); echo "<h1>Mailboxes</h1>\n"; -$folders = imap_listmailbox($mbox, "{votre.hote.imap:143}", "*"); +$folders = imap_listmailbox($mbox, "{imap.example.org:143}", "*"); if ($folders == false) { echo "Appel échoué<br />\n"; } else { http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-ping.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-ping.xml diff -u phpdoc-fr/reference/imap/functions/imap-ping.xml:1.12 phpdoc-fr/reference/imap/functions/imap-ping.xml:1.13 --- phpdoc-fr/reference/imap/functions/imap-ping.xml:1.12 Tue Nov 16 21:46:39 2004 +++ phpdoc-fr/reference/imap/functions/imap-ping.xml Tue Jan 24 18:05:44 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-ping"> <refnamediv> @@ -35,7 +35,7 @@ <![CDATA[ <?php -$imap = imap_open("{votre.hote.imap}", "mailadmin", "motdepasse"); +$imap = imap_open("{imap.example.org}", "mailadmin", "motdepasse"); // après une pause if (!imap_ping($imap)) { http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-reopen.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-reopen.xml diff -u phpdoc-fr/reference/imap/functions/imap-reopen.xml:1.11 phpdoc-fr/reference/imap/functions/imap-reopen.xml:1.12 --- phpdoc-fr/reference/imap/functions/imap-reopen.xml:1.11 Tue Nov 16 21:46:39 2004 +++ phpdoc-fr/reference/imap/functions/imap-reopen.xml Tue Jan 24 18:05:44 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-reopen"> <refnamediv> @@ -15,7 +15,7 @@ <type>bool</type><methodname>imap_reopen</methodname> <methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam> <methodparam><type>string</type><parameter>mailbox</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>options</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> <function>imap_reopen</function> réouvre la connexion spécifiée @@ -53,6 +53,19 @@ <para> &return.success; </para> + <example> + <title>Exemple avec <function>imap_reopen</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$mbox = imap_open("{imap.example.org:143}INBOX", "username", "password") or die(join(", ", imap_errors())); +// ... +imap_reopen($mbox, "{imap.example.org:143}INBOX.Sent") or die(join(", ", imap_errors())); +// .. +?> +]]> + </programlisting> + </example> </refsect1> </refentry> @@ -75,4 +88,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/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-setflag-full.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-setflag-full.xml diff -u phpdoc-fr/reference/imap/functions/imap-setflag-full.xml:1.10 phpdoc-fr/reference/imap/functions/imap-setflag-full.xml:1.11 --- phpdoc-fr/reference/imap/functions/imap-setflag-full.xml:1.10 Tue Nov 16 21:46:39 2004 +++ phpdoc-fr/reference/imap/functions/imap-setflag-full.xml Tue Jan 24 18:05:44 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.10 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-setflag-full"> <refnamediv> @@ -33,7 +33,7 @@ <listitem> <simpara> <constant>ST_UID</constant> - la séquence contient des UID au lieu de - numéros de séquence. + numéros de séquence. </simpara> </listitem> </itemizedlist> @@ -44,14 +44,14 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}","username","password") +$mbox = imap_open("{imap.example.org:143}","username","password") or die("can't connect: " . imap_last_error()); - + $status = imap_setflag_full($mbox, "2,5", "\\Seen \\Flagged"); - + echo gettype($status) . "\n"; echo $status . "\n"; - + imap_close($mbox); ?> ]]> @@ -59,7 +59,8 @@ </example> </para> <para> - Voir aussi <function>imap_clearflag_full</function>. + Voir aussi + <function>imap_clearflag_full</function>. </para> </refsect1> </refentry> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-set-quota.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-set-quota.xml diff -u phpdoc-fr/reference/imap/functions/imap-set-quota.xml:1.13 phpdoc-fr/reference/imap/functions/imap-set-quota.xml:1.14 --- phpdoc-fr/reference/imap/functions/imap-set-quota.xml:1.13 Fri May 27 22:53:30 2005 +++ phpdoc-fr/reference/imap/functions/imap-set-quota.xml Tue Jan 24 18:05:44 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-set-quota"> <refnamediv> @@ -49,7 +49,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "mailadmin", "password"); +$mbox = imap_open("{imap.example.org:143}", "mailadmin", "password"); if (!imap_set_quota($mbox, "user.kalowsky", 3000)) { echo "Error in setting quota\n"; http://cvs.php.net/viewcvs.cgi/phpdoc-fr/reference/imap/functions/imap-status.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/imap/functions/imap-status.xml diff -u phpdoc-fr/reference/imap/functions/imap-status.xml:1.11 phpdoc-fr/reference/imap/functions/imap-status.xml:1.12 --- phpdoc-fr/reference/imap/functions/imap-status.xml:1.11 Tue Nov 16 21:46:39 2004 +++ phpdoc-fr/reference/imap/functions/imap-status.xml Tue Jan 24 18:05:44 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imap-status"> <refnamediv> @@ -71,10 +71,10 @@ <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "utilisateur", "mot_de_passe", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "utilisateur", "mot_de_passe", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); - -$status = imap_status($mbox, "{your.imap.host}INBOX", SA_ALL); + +$status = imap_status($mbox, "{imap.example.org}INBOX", SA_ALL); if($status) { echo "Messages: " . $status->messages . "<br />\n"; echo "Récents: " . $status->recent . "<br />\n";
« previous php.doc.fr (#4782) next »