note 11658 rejected and deleted from fopen by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Thu, 01 Mar 2001 22:50:43 +0000 |
| Subject: | note 11658 rejected and deleted from fopen by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11731@lists.php.net to get a copy of this message | ||
When you want that data is write at the begin of the file and don't want that its overwrite the
existing data, how do you do that?
example: file post.dat white the text abc.
You want to ad a 'd'.
The white $fh = fopen(post.dat, r+);
fputs($fh, d);
in the file wile come now dbc and it needs to be dabc.
Thanx