Re: Why does it stop working?

From: Date: Wed, 22 Feb 2006 07:13:25 +0000
Subject: Re: Why does it stop working?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-230884@lists.php.net to get a copy of this message
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

« previous php.general (#230884) next »