ID: 20560 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: *Graphics related Operating System: FreeBSD/Pentium III PHP Version: 4.3.0RC1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. The comment is there, here is datadump of what exif_read_data() shows for your image. array(8) { ["FileName"]=> string(12) "IMG_0458.JPG" ["FileDateTime"]=> int(1037974126) ["FileSize"]=> int(3456) ["FileType"]=> int(2) ["MimeType"]=> string(10) "image/jpeg" ["SectionsFound"]=> string(7) "COMMENT" ["COMPUTED"]=> array(4) { ["html"]=> string(23) "width="128" height="96"" ["Height"]=> int(96) ["Width"]=> int(128) ["IsColor"]=> int(1) } [0]=> string(10) "AppleMark " } The comment "AppleMark" is there, I've verified it with jhead v1.8 Previous Comments: ------------------------------------------------------------------------ [2002-11-21 23:16:35] [EMAIL PROTECTED] http://www.slowchildren.com/pictures/test.php script =-=-=-=-=-=-=-=-= <? $exif = exif_read_data ('pictures/IMG_0454.JPG',0,true,false); echo "IMG_0458.JPG:<br /><img src=thumb.php?file=pictures/IMG_0458.JPG /><br />\n"; foreach($exif as $key=>$section) { foreach($section as $name=>$val) { echo "$key.$name: $val<br />\n"; } } ?> /script =-=-=-=-=-=-=-=-= This script can't seem to find my JPEG comment. Using jhead* or GraphicCoverter* shows my jpeg comment just find. Why doesn't it work in php??? *http://www.sentex.net/~mwandel/jhead/ *http://lemkesoft.de/us_gcabout.html Here's the image: http://www.slowchildren.com/pictures/pictures/IMG_0454.JPG Just in case: './configure' '--with-gd' '--without-msql' '--with-iodbc' '--with-curl' '--with-png-dir=/usr/local/lib' '--with-mysql=/usr/local' '--with-config-file-path=/usr/www/users/dant/scott/phpini' '--enable-debug=no' '--enable-track-vars=yes' '--enable-ftp=yes' '--enable-force-cgi-redirect=yes' '--enable-exif' '--enable-mbstring' '--enable-magic-quotes' '--enable-bcmath' '--with-zlib-dir=/usr/local' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20560&edit=1
