ed my sanity.
Thanks
Ron Stephenson
"Stephen March" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Allright, I got ya :)
>
> Open up any folder, let's say My Documents. Then go to the tools menu
> => Folder Options.
> From the "view&
count.txt, go to properties -> security.
>
> Does "everyone" have modify/write permissions to this file? The
> first error it posts, is that it doesn't
> have permissions to alter the file.This would also account for it
> failing to create the stream.
>
>
I'm trying to learn PHP and I have it loaded on my PC with XP pro and IIS
5.1. I run the following script and receive the error below.
//hit_counter1.php
$counter_file = "./count.txt";
if(!($fp = fopen($counter_file, "r"))) die ("Cannot open $counter_file.");
$counter = (int) fread($fp, 20);
fclose