I am trying to do this:
$fh = fopen("req2" , 'w')
and I get:
Warning: fopen (D: \ inetpub \ wwwroot \ req2) [function.fopen]: failed open stream: permission denied in D: \ inetpub \ wwwroot \ test.php on line 44 cannot open file
I gave Full Control permissions for IIS in the wwwroot directory. I also tried the absolute path: $_SERVER['DOCUMENT_ROOT']."\\req2"
but I still get the same error. I am running IIS 7 on Windows 7.
source share