it works. the problem was permission on the file and the folder.
my output, however, is not in proper format.
$match = preg_match_all("§<img src=[\s\"']?([\s\"'>]?)§Usi",$new_string,$matches);
$match = preg_match_all("§<img src=[\s\"']?([\s\"'>]?)§Usi",$new_string,$matches);
for ($i=0; $i< count($matches[0]); $i++) {
echo str_replace("<img src=\"","",$matches[0][$i]);
echo "<br>";
}
I've done that, but it seems like it is printing the same thing repeatedly twice. ( and no, i' dont have the same image listed twice.)
thanks.