Forum » » Questions » » Flux RSS
Posté : 3 déc. 2008 à 17:59
//fonction pour remplacer les caractères génants
function conf_XML($text)
{
$text = str_replace("&","&",$text);
$text = str_replace("<","<",$text);
$text = str_replace(">",">",$text);
$text = str_replace("\"",""",$text);
return $text;
}
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=24043&forum=9