note 29343 added to function.fopen
| From: | mauritskorse at hotmail dot com | Date: | Mon, 10 Feb 2003 20:14:08 +0000 |
| Subject: | note 29343 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43737@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]?
--
http://www.php.net/manual/en/function.fopen.php
http://master.php.net/manage/user-notes.php?action=edit+29343
http://master.php.net/manage/user-notes.php?action=delete+29343
http://master.php.net/manage/user-notes.php?action=reject+29343