note 48403 deleted from function.file-get-contents by aidan
| From: | aidan@php.net | Date: | Mon, 31 Jan 2005 07:22:24 +0000 |
| Subject: | note 48403 deleted from function.file-get-contents by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-84262@lists.php.net to get a copy of this message | ||
Note Submitter: llcooldanny [-AT-] gmail [-DOT-] com
----
Correct is this way:
<?php
if(!function_exists('file_get_contents')) {
function file_get_contents($file) {
return implode('', file($file));
}
}
?>