Click to See Complete Forum and Search --> : fopen permissions on win2k


Anon
10-23-2000, 08:19 PM
Seems that I can set a file to have write access and the php scripts can make changes to that file, but ONLY if that file exists already.

If the file doesn't exist, fopen is denied permission to create it, even with wide open security settings applied to the directory in question.

What do I have to do to get fopen to work on win2k with IIS5. It has to be able to create a new file.

PHP Version 4.0.2

thanks,
matt

Anon
02-01-2002, 02:55 PM
Hi Matt,

I'm running into the same problem and I was wondering if you had found a solution around this. Any help would be appreciated.

wittorff
09-03-2002, 08:53 AM
Hello folks,

I had the same problem on my win2k machine (with IIS5). Here is how I fixed it:

It's not enough to give write access to the file, you have to give write access to the folder in which the file is located.

Hope this will solve your problem.

Best regards,
Wittorff