From:             iljamaas at dreamsolution dot nl
Operating system: FreeBSD  4.9-STABLE
PHP version:      4.3.4
PHP Bug Type:     GetImageSize related
Bug description:  Getimagesize doesn't support flash7 swf

Description:
------------
I tried to run getimagesize on a flash7 .swf file and it results in a
'Error message: getimagesize(): Read error!
' 
The script works fine with any other swf (and other graphics) format.

Reproduce code:
---------------
$info=GetImageSize('test.swf');

Expected result:
----------------
It's expected to get the file's size and return an array filled with the
values.

Actual result:
--------------
It throws an error: 'getimagesize(): Read error!'
and return an array with all values '0'.

-- 
Edit bug report at http://bugs.php.net/?id=28259&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28259&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28259&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28259&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28259&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28259&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28259&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28259&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28259&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28259&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28259&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28259&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28259&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28259&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28259&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28259&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28259&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28259&r=float

Reply via email to