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?
Thanks In advance >>> raditha dissanayake <[EMAIL PROTECTED]> 7/5/2004 4:08:41 PM >>> Angelo binc2 wrote: >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_file function: > > >Warning: move_uploaded_file(c:/program files/apache >group/apache/htdocs/zerodocs/40/) [function.move-uploaded-file]: failed >to create stream: Permission denied in c:\program files\apache >group\apache\htdocs\zero\opdocument.php on line 80 > > Please 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. This problem reffered to seemed to be caused by the user that owns the webserver process not having the write permissions for the folder that you have created. I am sure this would have been discussed in the user contributed comments under the file uploaded sections of the manual. Usually giving write permissions is all that it would take. -- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -------------------------------------------------------------------- Disclaimer This e-mail transmission contains confidential information, which is the property of the sender. The information in this e-mail or attachments thereto is intended for the attention and use only of the addressee. Should you have received this e-mail in error, please delete and destroy it and any attachments thereto immediately. Under no circumstances will the Cape Technikon or the sender of this e-mail be liable to any party for any direct, indirect, special or other consequential damages for any use of this e-mail. For the detailed e-mail disclaimer please refer to http://www.ctech.ac.za/polic or call +27 (0)21 460 3911 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php