note 56555 added to function.file-put-contents
| From: | frank at ethisoft dot nl | Date: | Wed, 07 Sep 2005 09:00:32 +0000 |
| Subject: | note 56555 added to function.file-put-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94848@lists.php.net to get a copy of this message | ||
It might be invaluable to know in which way the file is being opened by this function, if the the
file is truncated to 0 length and which chmod is used?
Without this knowledge the arbitrary use of this function may cause unexpected results while for
example writing a binary file.
----
Manual Page -- http://www.php.net/manual/en/function.file-put-contents.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56555
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56555&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56555&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56555&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56555&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56555&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56555&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56555&report=yes
Search -- http://master.php.net/manage/user-notes.php