note 44647 added to features.file-upload
| From: | danchenatsingnetdotcomdotsg at osu1 dot php dot net | Date: | Thu, 12 Aug 2004 00:42:14 +0000 |
| Subject: | note 44647 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74509@lists.php.net to get a copy of this message | ||
Just a little reminder/note that might help. the line:
enctype='multipart/form-data'
in the HTML <form> tag is very important. I created a form with dreamweaver and didn't
realise that this line was omitted.
I wasted a few hours trying to figure out what went wrong with my php script, when it was actually
my HTML.
If you don't include this line, your browser will not upload the file ! (hope this helps other
who got stuck like me.)
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44647
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44647&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44647&report=yes
Search -- http://master.php.net/manage/user-notes.php