Brent W
Well-known member
Pretty simple plugin on vBulletin that includes a file and allows me to include that in a template with a variable.
and where $filecontent was placed the contents of file.php would show in the template. (Need it in Footer template)
PHP:
ob_start();
include_once('/home/www/file.php');
$filecontent = ob_get_contents();
ob_end_clean();
and where $filecontent was placed the contents of file.php would show in the template. (Need it in Footer template)