Reply to Re: Getting remote SWF size

Your name:

Reply:


Posted by alex on 09/28/05 08:55

"Con" <conradwt@gmail.com> a ιcrit dans le message de news:
1127867251.265007.236260@o13g2000cwo.googlegroups.com...
> Hi, it seems that you should be able to use the following function:
>
> int filesize ( string filename );
>
> Also, you can use the following:
>
> <?php
> function human_file_size($size)
> {
> $filesizename = array(" Bytes", " KB", " MB", " GB", " TB", " PB", "
> EB", " ZB", " YB");
> return round($size/pow(1024, ($i = floor(log($size, 1024)))), 2) .
> $filesizename[$i];
> }
> ?>
>
> BTW, the above code comes from the php.net.
>
> Peace,
>
> -Conrad
>

well... err. GetImageSize gives the width & height of a local or remote
image.
That's what I'd like to get from a remote flash movie.

--
alex

[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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация