|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28259 Getimagesize doesn't support flash7 swf
Submitted: 2004-05-03 13:02 UTC Modified: 2004-05-03 18:35 UTC
From: iljamaas at dreamsolution dot nl Assigned:
Status: Not a bug Package: GetImageSize related
PHP Version: 4.3.4 OS: FreeBSD 4.9-STABLE
Private report: No CVE-ID: None
 [2004-05-03 13:02 UTC] iljamaas at dreamsolution dot nl
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:

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'.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-03 18:26 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

Please provide a sample swf file. 
 [2004-05-03 18:35 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 05:01:25 2019 UTC