IIS File Upload

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
jgcal
Forum Newbie
Posts: 1
Joined: Mon Oct 16, 2006 10:24 am

IIS File Upload

Post by jgcal »

I have written a script to upload a file and I am using IIS. But when I select a file and press submit I get the following error:

Warning: move_uploaded_file(C:\InetPub\wwwroot\uploads\Preliminary_Analysis_of_Cyber_Portal_2.zip) [function.move-uploaded-file]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\upload.php on line 34

What do I need to do so that PHP has permissions to write files to a folder?

Thanks,

jgcal
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Set IIS' user write permissions for the uploads folder.
Post Reply