Re: Detect file size BEFORE upload it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux