You are here: Re: Size uploaded file « All PHP « IT news, forums, messages
Re: Size uploaded file

Posted by J.O. Aho on 02/17/06 14:50

Julien CROUZET wrote:
> somebody@anywhere.ext a écrit :
>> Hello all,
>>
>> Is there anyway to find out the size of a file to be uploaded before
>> the upload process starts? So I can give a message to the user before
>> the upload process and not when the user waits a long time and finds
>> out the file is to big?
>>
>
> No, for security reasons, you cannot access your file system before
> the upload starts.
> You can have a look at Scripting.FileSystemObject ActiveX, but this is
> generally not what you want.

That would only work on microsoft systems.

The closes one seems to be able to come with javascript is this:
http://www.faqts.com/knowledge_base/view.phtml/aid/11923


//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

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