note 32365 added to function.move-uploaded-file
| From: | freeaxs at thisiscyberia dot com | Date: | Sun, 25 May 2003 20:27:10 +0000 |
| Subject: | note 32365 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-48989@lists.php.net to get a copy of this message | ||
Just a simple tip to those who spent days on end trying to figure out why you are unable to upload
your file and are getting the following error: Unable to open [path] for reading: No such file or
directory in home/www...
It seems that I embedded a form inside another form; although the upload form had the enctype set
and all was in working order in my PHP code, it did not work until i removed the outer form and
voila! I simply moved the outer form's </form> to close before the opening tag of my
upload form... did i lose u?
Anyway, try it and tears of joy will come gushing out...
naz
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32365
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32365&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32365&report=yes