note 32153 added to function.fwrite
| From: | Chris at rack1 dot php dot net | Date: | Mon, 19 May 2003 08:12:36 +0000 |
| Subject: | note 32153 added to function.fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-48564@lists.php.net to get a copy of this message | ||
Don't forget to check fwrite returns for errors! Just because you successfully opened a file
for write, doesn't always mean you can write to it.
On some systems this can occur if the filesystem is full, you can still open the file and create the
filesystem inode, but the fwrite will fail, resulting in a zero byte file.
----
Manual Page -- http://www.php.net/manual/en/function.fwrite.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32153
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32153&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32153&report=yes