Return to Snippet

Revision: 3425
at July 23, 2007 10:47 by Mikker


Initial Code
<?php
	ob_start();
	include_once($file);
	$site = ob_get_clean();
	
	print $site;
?>

Initial URL


Initial Description
I use this instead of file_get_contents() to allow the use of php-tags in the include files.

Initial Title
Saving output of include() to a var

Initial Tags


Initial Language
PHP