note 73268 added to features.file-upload
| From: | anjaan at yahoo dot com | Date: | Thu, 15 Feb 2007 11:47:36 +0000 |
| Subject: | note 73268 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-123413@lists.php.net to get a copy of this message | ||
!! HELP !!
I have this in my php.ini under WAMP (Apache 2, XP, PHP5)
file_uploads = On
upload_tmp_dir = "C:\tgm\file-uploads"
upload_max_filesize = 1M
when i upload a file, and print_r($_FILES), I get this
Array ( [filBusinessCard] => Array ( [name] => IMG_0005.jpeg [type] => image/jpeg
[tmp_name] => C:\tgm\file-uploads\php1A.tmp [error] => 0 [size] => 16878 ) )
But i dont see the file in the folder! is_writable() and is_readable return true.
move_uploaded_files() returns an error [move_uploaded_file(C:\tgm\file-uploads\junk)
[function.move-uploaded-file]: failed to open stream: Permission denied]
I have tried sharing the folder under XP, but I still get the error. Could someone help me please?
thanks,
Anjaan.
----
Server IP: 64.71.164.2
Probable Submitter: 85.144.238.66
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- https://master.php.net/note/edit/73268
Del: integrated -- https://master.php.net/note/delete/73268/integrated
Del: useless -- https://master.php.net/note/delete/73268/useless
Del: bad code -- https://master.php.net/note/delete/73268/bad+code
Del: spam -- https://master.php.net/note/delete/73268/spam
Del: non-english -- https://master.php.net/note/delete/73268/non-english
Del: in docs -- https://master.php.net/note/delete/73268/in+docs
Del: other reasons-- https://master.php.net/note/delete/73268
Reject -- https://master.php.net/note/reject/73268
Search -- https://master.php.net/manage/user-notes.php