<?
$rep = "SKI 2007/";
function dd($date) {
return date("d/m/Y H:i:s",$date);
}
{//2
if($exif = exif_read_data($rep.$f, EXIF
, true)) // Si le fichier $img contient des infos Exif
{
<h3>Photo: ".$f."</h3><br>";
foreach ($exif as $key => $section) // On parcourt la première partie du tableau multidimensionnel
{
foreach ($section as $name => $value) // On parcourt la seconde partie
{
$exif_tab[$name] .= $value; // Récupération des valeurs dans le tableau $exif_tab
if (($exif_tab['Width'] && $exif_tab['Height'])) {
$resolution = $exif_tab['Width'].'*'.$exif_tab['Height'];
}
}
}
echo "resolution: ".$resolution."<p>";
}//3
}//2
}//1
?>