You are here: Re: Obtaining file size « All PHP « IT news, forums, messages
Re: Obtaining file size

Posted by J.O. Aho on 02/25/06 17:13

Steve wrote:
> I need to obtain the filesize of a file thats not on the same server. As
> filesize() need a realpath and not a url how else can this be done?

You download the file and and use filesize() on the downloaded file.

Else see to setup a php-page that can server you the filesize, which you then
can read (if the installed php supports remote file access).


//Aho

 

Navigation:

[Reply to this 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

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