note 58925 added to function.file-get-contents
| From: | thecomputermutt at thecomputermutt dot ca | Date: | Mon, 21 Nov 2005 02:50:46 +0000 |
| Subject: | note 58925 added to function.file-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98868@lists.php.net to get a copy of this message | ||
In response to hackajar-at-yahoo:
What if there's whitespace in the file? netjester-at-zoite's code returns the true
contents of the file, whereas yours would also trim whitespace from the end of the file, which may
be undesireable.
----
Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58925
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58925&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58925&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58925&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58925&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58925&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58925&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58925&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58925&report=yes
Search -- http://master.php.net/manage/user-notes.php