Actually writing to the counter file works fine, I just can't get it to write to the log file. -----Original Message----- From: Richard Lynch [mailto:ceo@xxxxxxxxx] Sent: Tuesday, January 25, 2005 1:30 PM To: Joey Cc: PHP Subject: RE: Help with file not writing Joey wrote: > $this->$hits .= fgets($hiti,128); Do global search and replace for '->$' and change it to '->' > $this->$hits=1+$this->$hits; > echo $this->$hits; > fputs($hito,$this->$hits); > fputs($log,$this->$log_entry ); cuz none of those are gonna work. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php