RE: MAX_FILE_SIZE not working with file uploads

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

 



> -----Original Message-----
> From: Jeff Cohan [mailto:jeff@xxxxxxxxxxxx]
> Sent: 23 September 2007 00:02
> To: php-general@xxxxxxxxxxxxx
> Subject: Re:  MAX_FILE_SIZE not working with file uploads
> 
> Chris wrote:
> > [error] => 2
> > And also gives you an error code.
> 
> Yes, I know and knew that. That's why the upload ultimately fails
> (which is okay).
> 
> My point is that when a file's size exceeds the MAX_FILE_SIZE value,
> I want the browser to (a) detect that it's too large BEFORE
> attempting to upload

I might be wrong but this would be classed as 'exploitable'... Webservers
should not be allowed to read from or write to clients... Of course there is
ActiveX...

Dan

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