note 25642 rejected from function.fopen by nicos

From: Date: Tue, 01 Oct 2002 22:44:57 +0000
Subject: note 25642 rejected from function.fopen by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-37492@lists.php.net to get a copy of this message
I wanted to use $fp=fopen("$datei","w+"); to first read a countnumber and secondly rewrite it increased of one. But as soon as you use w(+), your logfile is written new. So I had to write first another filehandle for reading the logfile. I ask myself: "What's the sense of '+' behind w ?

« previous php.notes (#37492) next »