note 20635 added to function.file-get-contents
| From: | ericston_ at _home_ dot _nl | Date: | Wed, 10 Apr 2002 21:24:53 +0000 |
| Subject: | note 20635 added to function.file-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29084@lists.php.net to get a copy of this message | ||
If you use PHP < 4.3.0, you could try:
$string = implode("", file($filename));
Not talking about efficiency here, though.
--
http://www.php.net/manual/en/function.file-get-contents.php
http://master.php.net/manage/user-notes.php?action=edit+20635
http://master.php.net/manage/user-notes.php?action=delete+20635
http://master.php.net/manage/user-notes.php?action=reject+20635