note 105236 added to features.file-upload.errors
| From: | krunoslav dot gregorec at hotmail dot com | Date: | Thu, 04 Aug 2011 10:05:50 +0000 |
| Subject: | note 105236 added to features.file-upload.errors | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-182211@lists.php.net to get a copy of this message | ||
Well, guys I have one problem with uploading files.
So, what's the problem?
First, I upload my file with simple form.. And I see it is uploaded cause I get feedback from
"print_r($_FILES) and I can see it is uploaded.
But problem cames up when I try using "move_uploaded_file()"
function. Why?
Well, you know that one of the arguments of that function is
name of the file when is uploaded in temp folder..
And that name can be red in print_r command..
But function never recognizes my files by the name upload gave them.
Why?? Because in superglobal $_FILES they have different name compared to tmp folder.. How's
that possible!!!????
For example, when I upload file it is showing it's name is php4C5.tmp, but when I go to tmp
folder, name is totaly different..
Help, guys.. Thank you.. :D
----
Server IP: 69.147.83.197
Probable Submitter: 83.131.88.79
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.errors.php
Edit -- https://master.php.net/note/edit/105236
Del: integrated -- https://master.php.net/note/delete/105236/integrated
Del: useless -- https://master.php.net/note/delete/105236/useless
Del: bad code -- https://master.php.net/note/delete/105236/bad+code
Del: spam -- https://master.php.net/note/delete/105236/spam
Del: non-english -- https://master.php.net/note/delete/105236/non-english
Del: in docs -- https://master.php.net/note/delete/105236/in+docs
Del: other reasons-- https://master.php.net/note/delete/105236
Reject -- https://master.php.net/note/reject/105236
Search -- https://master.php.net/manage/user-notes.php