Hi, Is it possible to enter a URL into a script and find all the image sources? Thanks Ben. 🙂
Somthing like this?
if ($handle = opendir('url/')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != ".." ) { if (strpos($file, '.jpg',1)||strpos($file, '.gif',1) ) { print"$file<br />"; } } } closedir($handle); }