note 38179 deleted from function.include by aidan
| From: | aidan@php.net | Date: | Sat, 15 Apr 2006 16:37:17 +0000 |
| Subject: | note 38179 deleted from function.include by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108173@lists.php.net to get a copy of this message | ||
Note Submitter: vincent [at] consultmac [dot] calm
----
You could use the following to store file contents using include() and output buffering:
----------------------------------
// Aussme $file is set
ob_start();
include($file);
$file_contents = ob_get_contents();
ob_end_clean();
-----------------------------------
Have fun!