note 38294 deleted from features.file-upload by sniper

From: Date: Thu, 29 Jan 2004 07:50:53 +0000
Subject: note 38294 deleted from features.file-upload by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64350@lists.php.net to get a copy of this message
Note Submitter: Peter ---- Just a short note.. I hope it helps somebody. I was making this upload-form for the first time and spent a lot of time getting it to work. The $_FILES array stayed empty.. Also the form 'enctype' value is very importand! <form enctype="multipart/form-data" action="_URL_" method="post"> Maybe it is wrong, but in normal forms I never used that 'enctype'.. But the file-upload won't work unless you specify it. It is mentioned in the example on this page.. but if you just take some code and put it in you're own existing form (like I did), you can easily overlook this.

« previous php.notes (#64350) next »