Reply to Re: embed a swf without setting the dimensions?

Your name:

Reply:


Posted by Ciaran on 03/25/07 14:12

Wow! I found it! It's so simple! PHP can read SWF files as images! So
the PHP code to find the width and height of a SWF file is....

<?php
list($width, $height, $type, $attr) = getimagesize("any.swf");

echo "Image width " .$width;
echo "<BR>";
echo "Image height " .$height;
echo "<BR>";
echo "Image type " .$type;
echo "<BR>";
echo "Attribute " .$attr;
?>

If you don't know PHP, this bit of code simply checks the dimensionos
of the swf and prints them out.
Hope that helps someone!

Ciarán

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация