Jump to content

If images is not there


rockinaway

Recommended Posts

this may be helpfull to you

 

                  $path = "Dir Name";

  $file_types = array('jpeg', 'jpg', 'png', 'gif', ');

  $p = opendir($path);

  while (false !== ($filename = readdir($p))) {

  $files[] = $filename;

  }

 

if(count($files) != 0){

    echo "Image Exists";

}

 

 

~J

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.