note 36655 added to function.file-get-contents
| From: | twins20 at twins20 dot com | Date: | Fri, 17 Oct 2003 12:32:30 +0000 |
| Subject: | note 36655 added to function.file-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58768@lists.php.net to get a copy of this message | ||
For php users < 4.3.0
here is a great idea:
function file_gets_contents($filenameURL) {
return implode("",file($filenameURL));
}
It works fine.
Nadir.
----
Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36655
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36655&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36655&report=yes
Search -- http://master.php.net/manage/user-notes.php