I design below mentioned php script to display existing jpg image links in a webpage and it is working fine for one webpage.No i want to check all image links in all sub directories of whole website.Please help to resolve this issue.Please change code so that i will be able to get all images from sub directories also.
[php]<?php
include_once(‘simple_html_dom.php’);
$target_url = “http://http://www.fffmovieposters.com/ “;
$html = new simple_html_dom();
$html->load_file($target_url);
foreach($html->find(‘img’) as $img)
{
echo $img->src.”
”;
echo $img."
";
}
?>[/php]
(Edited to make it a little easier to read)
Thanks.