IIS Directory/File writing trouble

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
siborgz
Forum Newbie
Posts: 1
Joined: Fri Oct 28, 2005 3:53 pm

IIS Directory/File writing trouble

Post by siborgz »

Greetings,

I've been having this problem for a while with IIS now and I can't seem to find my
answer anywhere.

I wrote an image browser which creates thumbnails for each image inputted in the
script. However, in order to do that, I must have writing privileges for the thumbnails
directory.

In IIS configuration, I made sure the specific directory had read/write permissions.
Furthermore, my user IUSR_MACHINE# is allowed to access the directory, and connection
is set to anonymous !!

Here's PHP output :
Warning: imagepng() [function.imagepng]: Unable to open 'images/thumbnails/FOND.jpg-tb.png' for writing in c:\Inetpub\wwwroot\WEBSITE\imagebrowser.php

Would anybody know what I'm doing wrong ?

Thanks !
janey
Forum Newbie
Posts: 13
Joined: Sat Nov 26, 2005 6:48 am
Location: stoke

Post by janey »

have you taken off simple file sharing in windows?

tools>folder options>view

then right click the folder you have in wwwroot and click propperties then check on the security tab that you can write.
Post Reply