Il y a des parseurs d'xml en php. Ils peuvent certainement etre utilise pour faire ca-
Neofungamer
Niveau 22
23 novembre 2012 à 20:14:39
J'adore utiliser xpath pour ça : http://php.net/manual/fr//fr/simplexmlelement.xpath.php
stepola
Niveau 8
25 novembre 2012 à 16:16:25
j'ai essayé ceci mais sans resultat <?php if (preg_match('/<img src="([^"]+)"/i', $string, $matches)) { $imageUrl = $matches[1]; echo '$$matches[1]';} else { echo "L'url de l'image n'a pas été trouvé."; } ?>