note 29142 added to function.fwrite
| From: | l0d at copyleft dot ru | Date: | Tue, 04 Feb 2003 12:27:57 +0000 |
| Subject: | note 29142 added to function.fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43380@lists.php.net to get a copy of this message | ||
speaking of simplicity:
fwrite(fopen($name), $data);
that's it =]
this way the filehandle gets released after execution
--
http://www.php.net/manual/en/function.fwrite.php
http://master.php.net/manage/user-notes.php?action=edit+29142
http://master.php.net/manage/user-notes.php?action=delete+29142
http://master.php.net/manage/user-notes.php?action=reject+29142