Im trying to open a txt file to write into it .
heres the warning : Warning: fopen(C:\inetpub\wwwroot\testFile.txt): failed to open stream: Permission denied in C:\inetpub\wwwroot\get.php
and heres the code
$fh = fopen("C:\inetpub\wwwroot\testFile.txt" , 'w');
fwrite($fh, "PHP");
what am I missing ?