note 10502 deleted from features.file-upload by irc-html

From: Date: Sat, 19 Jan 2002 20:32:27 +0000
Subject: note 10502 deleted from features.file-upload by irc-html
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-25341@lists.php.net to get a copy of this message
Demo Form and Script with Source http://www.gemini1consulting.com/tekhelp/upload.php This had me going for a while ! PHP will automatically reject file sizes greater than the MAX_FILE_SIZE passed as a hidden variable. Nowhere did I find this stated anywhere. Your form handler doesn't even have to consider it for the file to be rejected and you won't know. So if you are having trouble , remove the <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="whatever"> entirely from your form. When you get it working, then you can add it in and see how it works.

« previous php.notes (#25341) next »