What does MAX_FILE_SIZE do?

From: Date: Thu, 08 Apr 2004 23:16:46 +0000
Subject: What does MAX_FILE_SIZE do?
Groups: php.general 
Request: Send a blank email to php-general+get-182928@lists.php.net to get a copy of this message
I was reading about this here: http://us3.php.net/manual/en/features.file-upload.php It says: <quote> But you should add MAX_FILE_SIZE anyway as it saves users the trouble to wait for a big file being transferred only to find out that it was too big afterwards. </quote> So, I decided to add <input type="hidden" name="MAX_FILE_SIZE" value="30000" /> to my form. It didn't seem to do anything. Is the browser supposed to use this to throw a browser-genrated error to me, or something? -- Regards, Ben Ramsey http://benramsey.com http://www.phpcommunity.org/wiki/People/BenRamsey

« previous php.general (#182928) next »