Reply to Re: [PHP] Detect file size BEFORE upload it

Your name:

Reply:


Posted by Richard Davey on 10/06/05 15:15

Hi Ruben,

Thursday, October 6, 2005, 7:38:35 AM, you wrote:

> The problem is that I was able to detect file size after complete
> file is transfered.

> I need to detect file size before all file is transfered, in order
> to cancel it and preserve server resources.

> Any ideas?

The only way to do it would be to write your own client uploading
application in the likes of Java or ActiveX.

Anything client side is always going to fail because it doesn't know
about the size of the file until it has it, by which point it's too
late.

Cheers,

Rich
--
Zend Certified Engineer
http://www.launchcode.co.uk

[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

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