note 29343 rejected from function.fopen by betz

From: Date: Mon, 10 Feb 2003 22:55:29 +0000
Subject: note 29343 rejected from function.fopen by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-43745@lists.php.net to get a copy of this message
When I want to write to a file at the beginning of it, I can use "r+" or "w+", but in both cases, file I write to will loose some("r+") or all old information("w+"). How can I prevent this, by not usig "a+" [I want to put the new information before the old information]?

« previous php.notes (#43745) next »