note 8949 added to fwrite
| From: | sysopopfor at usa dot net | Date: | Sun, 08 Oct 2000 09:48:51 +0000 |
| Subject: | note 8949 added to fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6211@lists.php.net to get a copy of this message | ||
You don't have to close the file when you want to read, increment a value and write it again.
Just rewind it and fwrite the new value.
http://www.php.net/manual/function.fwrite.php