[IMAP] Utilisation des fonctions IMAP
Bonjour a tous,
j' ai un petit probleme avec l' utilisation des fonctions imap et je ne sais pas pourquoi.
je teste l exemple sur le manuel PHP : http://fr.php.net/manual/fr/function...der-decode.php
voici l erreur:
Code:
Fatal error: Call to undefined function imap_mime_header_decode() in ***/t.php on line 5
et voici le fichier t.php :
Code:
1 2 3 4 5 6 7 8 9 10 11
| <?php
$text="=?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= <keld@dkuug.dk>";
$elements = imap_mime_header_decode($text);
for($i=0; $i<count($elements); $i++) {
echo "Charset: {$elements[$i]->charset}\n";
echo "Texte: {$elements[$i]->text}\n\n";
}
?> |
quelqu un peut m expliquer pourquoi ca marche pas?