ob_start(); include('/home/site/public_html/inc/header-inc.php'); $includedphp = ob_get_contents(); vB_Template::preRegister('header',array('includedphp' => $includedphp)); ob_end_clean();