Re: MAX_FILE_SIZE not working with file uploads

From: Date: Sat, 22 Sep 2007 23:01:50 +0000
Subject: Re: MAX_FILE_SIZE not working with file uploads
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-262369@lists.php.net to get a copy of this message
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 it and (b) report the file size back to the user. That's what's not happening.

« previous php.general (#262369) next »