php-code:
<?php
echo "IMAGE.JPG:<br />\n";
$exif = exif_read_data('IMAGE.JPG', 'IFD0');
echo $exif===false ? "Keine Headerdaten gefunden.<br />\n" : "Bild beinhaltet Header<br />\n";
$exif = exif_read_data('IMAGE.JPG', 0, true);
echo "IMAGE.JPG:<br />\n";
foreach ($exif as $key => $section) {
foreach ($section as $name => $val) {
echo "$key.$name: $val<br />\n";
}
}
?>
Keine Kommentare:
Kommentar veröffentlichen