Error in EXIF-header
Posted: Fri Mar 21, 2008 10:03 am
Hi,
here is a test-script from which I receives errors. Can someone help me please ?
http://www.fotospotter.be/test.php
It returns an error on IFD
<html>
<body>
<?php
$exif = exif_read_data( 'albumfoto/_beeld/slide/0007/i020550d.jpg', 'EXIF', true );
echo "albumfoto/_beeld/slide/0007/i020550d.jpg:<br />\n";
foreach ($exif as $key => $section) {
foreach ($section as $name => $val) {
echo "$key.$name: $val<br />\n";
}
}
?>
</body>
</html>
thx
here is a test-script from which I receives errors. Can someone help me please ?
http://www.fotospotter.be/test.php
It returns an error on IFD
Here is the content of this test-script.Warning: exif_read_data(i020550d.jpg) [exif_read_data]: Illegal IFD offset in /customers/fotospotter.be/fotospotter.be/httpd.www/test.php on line 5
albumfoto/_beeld/slide/0007/i020550d.jpg:
FILE.FileName: i020550d.jpg
FILE.FileDateTime: 1192205022
FILE.FileSize: 147608
FILE.FileType: 2
....
<html>
<body>
<?php
$exif = exif_read_data( 'albumfoto/_beeld/slide/0007/i020550d.jpg', 'EXIF', true );
echo "albumfoto/_beeld/slide/0007/i020550d.jpg:<br />\n";
foreach ($exif as $key => $section) {
foreach ($section as $name => $val) {
echo "$key.$name: $val<br />\n";
}
}
?>
</body>
</html>
thx