Hey.
After I formatted my pc, i’ve installed iis and php again. Everything worked before, but know i get errors… My php is working fone (if I do that info() test)… I get the following errors :
Warning: fopen(count/cnt.txt): failed to open stream: Permission denied in c:\inetpub\wwwroot\fairestcapecarhire\index.php on line 4
Warning: fgets(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\fairestcapecarhire\index.php on line 5
Warning: fclose(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\fairestcapecarhire\index.php on line 6
Warning: unlink(count/cnt.txt): Permission denied in c:\inetpub\wwwroot\fairestcapecarhire\index.php on line 7
Warning: fopen(count/cnt.txt): failed to open stream: Permission denied in c:\inetpub\wwwroot\fairestcapecarhire\index.php on line 13
Warning: fwrite(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\fairestcapecarhire\index.php on line 15
Warning: fclose(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\fairestcapecarhire\index.php on line 16
so somewhere I need to set my permissions for my txt file? but where? As i said, it worked fine before…
Thanks!