Return to Snippet

Revision: 35149
at November 3, 2010 08:24 by mikael12


Initial Code
ob_start();
require 'file.php';
$content = ob_get_contents();
ob_end_clean();

echo $content;

Initial URL

                                

Initial Description

                                

Initial Title
Get content into variable with require

Initial Tags

                                

Initial Language
PHP