RE: [PHP] Help with file not writing

From: Date: Wed, 26 Jan 2005 02:53:40 +0000
Subject: RE: [PHP] Help with file not writing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-207346@lists.php.net to get a copy of this message
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@l-i-e.com] Sent: Tuesday, January 25, 2005 7:44 PM To: Joey Subject: RE: [PHP] 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@l-i-e.com] > Sent: Tuesday, January 25, 2005 1:30 PM > To: Joey > Cc: PHP > Subject: RE: [PHP] 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

« previous php.general (#207346) next »