#19415 [Fbk->Opn]: GetImageSize is not supported new Flash 6 type .SWF
| From: | atz at atz dot msk dot ru | Date: | Sun, 15 Sep 2002 17:12:22 +0000 |
| Subject: | #19415 [Fbk->Opn]: GetImageSize is not supported new Flash 6 type .SWF | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19402@lists.php.net to get a copy of this message | ||
ID: 19415
User updated by: atz@atz.msk.ru
Reported By: atz@atz.msk.ru
-Status: Feedback
+Status: Open
Bug Type: GetImageSize related
Operating System: FreeBSD 4.5
PHP Version: 4.2.3
New Comment:
This is my configure-line from phpinfo()
'./configure' '--cache-file=/dev/null' '--enable-sockets'
'--enable-gd-native-tt' '--with-mod_charset' '--with-gd=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
'--with-pgsql=/usr/local/pgsql'
'--with-freetype-dir=/usr/local/freetype'
'--with-t1lib=/usr/local/t1lib' '--with-zlib=/usr'
'--with-mysql=/usr/local/mysql'
'--with-apache=../apache_1.3.26rusPL30.15' '--with-gettext'
'--enable-track-vars' '--enable-ftp'
Previous Comments:
------------------------------------------------------------------------
[2002-09-15 12:00:17] sesser@php.net
Please give me your ./configure line
you can get it from phpinfo();
------------------------------------------------------------------------
[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