note 72844 added to features.file-upload

From: Date: Fri, 02 Feb 2007 20:41:03 +0000
Subject: note 72844 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-122579@lists.php.net to get a copy of this message
I always understood 'The MAX_FILE_SIZE hidden field (measured in bytes) must precede the file input field,' as being *if you provided such field*. After all, there is little sense in sending the max size after the whole file has arrived. However, after suffering upload problems (file wasn't uploaded) and comparing with a simpler working script, i found that it fixed adding MAX_FILE_SIZE (same file, same script, only the hidden input disappearing/appearing). Thus if you are having problems on the upload, try adding that field. It won't hurt anything anyway. bug or feature? ---- Server IP: 217.174.196.197 Probable Submitter: 80.58.205.33 (proxied: 88.4.19.254) ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.php Edit -- https://master.php.net/note/edit/72844 Del: integrated -- https://master.php.net/note/delete/72844/integrated Del: useless -- https://master.php.net/note/delete/72844/useless Del: bad code -- https://master.php.net/note/delete/72844/bad+code Del: spam -- https://master.php.net/note/delete/72844/spam Del: non-english -- https://master.php.net/note/delete/72844/non-english Del: in docs -- https://master.php.net/note/delete/72844/in+docs Del: other reasons-- https://master.php.net/note/delete/72844 Reject -- https://master.php.net/note/reject/72844 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#122579) next »