|
Posted by Steve on 11/15/07 21:21
"Andy2500" <do_not_use_this@yahoo.com> wrote in message
news:473caf8a$1_4@news.bluewin.ch...
>
> "Steve" <no.one@example.com> wrote in message
> news:5w__i.67$_X2.41@newsfe06.lga...
>>
>>>
>>> I'd like to upload an image to a folder, then I have 3
>>> diffrents examples but all of them give an error
>>> "failed to open stream: Permission denied", althrough the
>>> C:\Inetpub\wwwroot is not protected.
>>
>> oddly enough, it is a permissions issue. this is running iis, correct?
>> does c:/inetpub/wwwroot allow read *and* write permission for
>> IUSR_<server name here>?
>
> Thank you for your reply.
not a problem.
>>this is running iis, correct?
> Yes, with WinXP SP2 & IIS 5.1
xp professional i presume...unless you hacked iis support in a lesser
version.
>> c:/inetpub/wwwroot allow read *and* write permission for IUSR_<server
>> name here>?
> yes it is. It allows read & write permission for IUSR_<server_name>
so php is running fine, indicating that php initiated by a web hit does in
fact have permissions to read/parse .php files. ok, see if you can make a
simple script that fopen's a new file with write access, then fputs 'hello
world' to it. the important thing to try would be the path. instead of
backslashing the path, use forward slashes:
c:/inetpub/wwwroot/test.txt
post the errors back here please. if there are none, we'll need to look at a
couple of other things more closely.
>> what should I have to check more ?
>
> Thank you
not a problem.
Navigation:
[Reply to this message]
|