note 36142 added to function.fwrite
| From: | admin at sonclan dot co dot uk | Date: | Sun, 28 Sep 2003 10:12:16 +0000 |
| Subject: | note 36142 added to function.fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-57203@lists.php.net to get a copy of this message | ||
i dont see the big issue here, just simple open the file then write it like this
// opening the archive
$var = fopen("dir/filename.txt", "x");
// writing the archive
fwrite($var, "Content or varables here");
note: where "x" is, replace it with the syntax you wish to use, eg: a, to continue
writing content to that document, or "w", to write only once
----
Manual Page -- http://www.php.net/manual/en/function.fwrite.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36142
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36142&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36142&report=yes