note 46587 deleted from function.file-get-contents by aidan
| From: | aidan@php.net | Date: | Sat, 16 Oct 2004 08:25:43 +0000 |
| Subject: | note 46587 deleted from function.file-get-contents by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78650@lists.php.net to get a copy of this message | ||
Note Submitter: n0dalus at gmail
----
For PHP version >= 3
<?php
if(!function_exists('file_get_contents')) {
function file_get_contents($filename, $includepath=FALSE) {
return implode('', file($filename, (int) $includepath));
}
}
?>
----
Reason: useless example