Posted by Jerry Stuckle on 10/04/07 13:03
Dev wrote:
> when i try web site visitor counter code on my winXP with IIS the
> following warning messages display
>
>
> This page has been visited 6 times
> Warning: fopen(counter.txt) [function.fopen]: failed to open stream:
> Permission denied in C:\Inetpub\wwwroot\dev.php on line 16
>
> Warning: fwrite(): supplied argument is not a valid stream resource in
> C:\Inetpub\wwwroot\dev.php on line 17
>
> Warning: fclose(): supplied argument is not a valid stream resource in
> C:\Inetpub\wwwroot\dev.php on line 18
>
>
> please give any idea to solv this.
>
> thanks in advance.
>
> Dev
>
Sounds like your IIS user doesn't have permission to open and write to
the file.
Try a Windows admin group.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|