Pictures of TUZONGO

‘;

$dir_handle = @opendir($directory) or die(“Check!”);

while ($file = readdir($dir_handle))
{
if($file==’.’ || $file == ‘..’) continue;

$file_parts = explode(‘.’,$file);
$ext = strtolower(array_pop($file_parts));

$title = implode(‘.’,$file_parts);
$title = htmlspecialchars($title);
$nomargin=”;
$first_one = ‘ id=”first”‘;

$image_path = “/home/public_html/tuzongo.com/public/Pictures_of_TUZONGO/”.$file;

if(in_array($ext,$allowed_types))
{
$exif = exif_read_data($image_path, 0, true);
$exif_description = $exif[‘IFD0’][‘ImageDescription’];

if(($i+1)%3==0) $nomargin=’ nomargin’;
if ( $title != $image )
{
$first_one = ”;
}
else
{

}

$outputs .= ‘

‘;

$i++;
}
}

closedir($dir_handle);
$outputs .= ‘


‘;
echo $outputs;
?>

Leave a Reply

Your email address will not be published. Required fields are marked *