note 9457 added to rewind
| From: | kamikaze at chello dot be | Date: | Fri, 03 Nov 2000 23:51:12 +0000 |
| Subject: | note 9457 added to rewind | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7367@lists.php.net to get a copy of this message | ||
to write at the beginning of a file, just write what should be at the beginning to a temp file, then
append the rest of the file to that temp file, then rename the temp file... that's it!
http://www.php.net/manual/function.rewind.php