0
J'utilise ce code pour obtenir un fichiercomment afficher sous forme de fichier xml php
$url="http://zz.com/a"
$ch = curl_init();
$timeout = 5;
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
echo $xml = curl_exec($ch);
ce sera un fichier xml et je dois l'afficher comme xml si je l'afficher est comme une chaîne i besoin pour l'afficher comme un fichier xml