note 105236 rejected from features.file-upload.errors by danbrown

From: Date: Thu, 04 Aug 2011 15:06:14 +0000
Subject: note 105236 rejected from features.file-upload.errors by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-182222@lists.php.net to get a copy of this message
Note Submitter: krunoslav dot gregorec at hotmail dot com ---- 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

« previous php.notes (#182222) next »