Re: file upload and permission problem.
| From: | raditha dissanayake | Date: | Tue, 06 Jul 2004 13:35:19 +0000 |
| Subject: | Re: file upload and permission problem. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189790@lists.php.net to get a copy of this message | ||
Angelo binc2 wrote:
So if it is a windows box, how would I set the permissions? or is the permissions of the person who is logged into the machine? That's not a PHP question! and i know very little about windows but I can tell you that you can do it by right clicking on a folder and selecting properties. Further questions would really be off topic for this list.
Thanks In advance-- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits.Angelo binc2 wrote:raditha dissanayake <jabber@raditha.com> 7/5/2004 4:08:41 PM >>>Hi all I am trying to upload a file using PHP. I can successfully create a folder, but when I try upload the file it gives me the following error when using the move_uploaded_filefunction:Warning: move_uploaded_file(c:/program files/apache group/apache/htdocs/zerodocs/40/) [function.move-uploaded-file]:failedto create stream: Permission denied in c:\program files\apache group\apache\htdocs\zero\opdocument.php on line 80Please post only the relevent sections of your code in future messages instead of the complete script. You are more likely to get an answer then.