note 50245 deleted from function.file-get-contents by aidan

From: Date: Tue, 15 Mar 2005 09:47:09 +0000
Subject: note 50245 deleted from function.file-get-contents by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-86456@lists.php.net to get a copy of this message
Note Submitter: Daniellehr[-at-]gmx[-dot-]de ---- To get the content of a file in earlier versions than 4.3.0 you can use this: <?php if (!function_exists('file_get_contents')) { function file_get_contents($file) { $file = file($file); return !$file ? false : implode('', $file); } } ?>

« previous php.notes (#86456) next »