fputs() or fwrite()
| From: | Martin.Andrew | Date: | Tue, 12 Feb 2002 10:19:16 +0000 |
| Subject: | fputs() or fwrite() | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12017@lists.php.net to get a copy of this message | ||
Is it possible to directly append a file with
fputs ("string", 'a');
and place the string at a certain point in that file, eg. line number?
Now it is always placing the string at the bottim of the file.
Do I have to read to file first?