#19415 [Opn->Fbk]: GetImageSize is not supported new Flash 6 type .SWF
| From: | sesser@php.net | Date: | Sun, 15 Sep 2002 17:00:17 +0000 |
| Subject: | #19415 [Opn->Fbk]: GetImageSize is not supported new Flash 6 type .SWF | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19401@lists.php.net to get a copy of this message | ||
ID: 19415
Updated by: sesser@php.net
Reported By: atz@atz.msk.ru
-Status: Open
+Status: Feedback
Bug Type: GetImageSize related
Operating System: FreeBSD 4.5
PHP Version: 4.2.3
New Comment:
Please give me your ./configure line
you can get it from phpinfo();
Previous Comments:
------------------------------------------------------------------------
[2002-09-15 11:47:52] atz@atz.msk.ru
I have downloaded and install php4-latest.tar.gz but nothing have
changed.
I forget to tell that my Flash 6 in the compressed format.
In this case
$ar = GetImageSize('flash.swf') return array with following elements:
$ar[2] == 13; # it's true, it's mean that file format is SWC (as i
understand SWC = SWF-compressed)
$ar[0] == 0 && $ar[1] == 0; # it's wrong :( my flash is not 0x0px
size.
Is this bug?
for example:
you can get my flash on the following URL
http://www.atz.msk.ru/php/flash6.swf)
and example worked code on http://www.atz.msk.ru/php/index.php
also you cat see the source code on
http://www.atz.msk.ru/php/index.phps (this is
symbolic link to
index.php)
------------------------------------------------------------------------
[2002-09-15 09:33:58] sander@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-09-15 09:19:05] atz@atz.msk.ru
Get any file .SWF that writed in Flash 6 (new) format.
for example: flash.swf in Flash 6 format
then in PHP 4.2.3
<?
$info = GetImageSize('flash.swf');
if ($info[2] == 4) { echo "This is the flash-file"; }
else { echo "not flash file"; }
?>
also in this code $info[0] == null and $info[1] == null
Sorry for my english.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19415&edit=1