tests to see if an image file (jpg/gif..) exists and if it does not then it can display alternative text! Good to use if your website in underconstrucion and you are waiting for someone else to add images as they get them. No more explorer missing image icons!
Download
View Source (print view)
Rating : 4.7
Views : 342
function doiexist($path, $findfile)
{
// Source = www.spiderandjenni.com/phptips
$found=0;
if ($dir = @opendir($path)) {
while (($file = readdir($dir)) !== false) {
if($file==$findfile){$found=1;}
}
closedir($dir);
}else{print "no such dir path"; $found==2;}
return($found);
}
?>
security, snnap_ss, salars77, paper_without_wood, guest, enfactuation, rent a car, download, regirstration form, php_snips, fedex, call php', userstatusinonline, php_script"_class="neww"_target="_blank"_title="im_neuen, best ide, php script" class="neww" target="_b..., forum, p t test paired, php_tools, href php function, utfraw