I Thought I sent a second email that mentioned I did try what you ask and that didn't make a difference. Also note the the write to the counter file works perfectly, but the log file write does not. Thanks, Joey PS No error messages. -----Original Message----- From: Richard Lynch [mailto:ceo@xxxxxxxxx] Sent: Tuesday, January 25, 2005 7:44 PM To: Joey Subject: RE: Help with file not writing I'll say it again. Every place that you have ->$ you should have just -> It's really that simple. Honest. Joey wrote: > Sorry I forgot to mention that I tried that anyway and no change in > the result. > > fputs($log,$this->log_entry ); > > > > -----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 > > -- 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