Date: 09/17/00
- Next message: Derick Rethans: "[PHP-DEV] Test"
- Previous message: andy <email protected>: "[PHP-DEV] PHP 4.0 Bug #6786: PHP stability problem w/ mssql70.dll loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: serge <email protected>
Operating system: RH Linux 6.2
PHP version: 4.0.2
PHP Bug Type: Unknown/Other Function
Bug description: read_exif_data returns data even without real exif date
Hi Guys,
It seems that read_exif_data builds certain fields like
FileName, FileDateTime, FileSize etc .. even when no real
EXIF data exists. So read_exif_data will always return something....!
This makes it a pain to test for the presence of actual EXIF data cause I have to do something like this:
$exif_data = <email protected>($upload);
if (isset ($exif_data['CameraMake'])) {
Not very bullet proof ....
Would be nice if it would not return anything without the presence of actual EXIF data.
Thanks, Serge
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Derick Rethans: "[PHP-DEV] Test"
- Previous message: andy <email protected>: "[PHP-DEV] PHP 4.0 Bug #6786: PHP stability problem w/ mssql70.dll loaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

