Re: Why does it stop working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 21, 2006 at 11:54:53PM -0600, pine oil wrote:
> I've used the following counter for some time, but I don't seem to
> have it work now after I have moved the directory of the files.
>
>... 
> $cn = implode("",file("counter.txt"));
> $cn++;
> $fp = fopen("counter.txt","w+");
> fwrite($fp,$cn);
> fclose($fp);

hmm.. i didn't think these raw counter like things were used
anymore.

Have you considered not even worrying about showing how many people
have viewed the page?

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux