Muller2
02-22-2010, 02:18 PM
Hi,
I would like to include a php file in the footer template and I followed this guide http://www.vbulletin.com/forum/showthread.php?173937-How-to-Include-a-PHP-or-HTML-File but that doesn't seem to work.
Has this changed in VB4? Or am I doing something incorrectly?
On the template I have '<div>$includedphp</div>' and on my plugin that is active I have
Code:
ob_start();
include('sitestats.php');
$includedphp = ob_get_contents();
ob_end_clean();
If anyone can help it would be much appreciated
Thanks,
Al
I would like to include a php file in the footer template and I followed this guide http://www.vbulletin.com/forum/showthread.php?173937-How-to-Include-a-PHP-or-HTML-File but that doesn't seem to work.
Has this changed in VB4? Or am I doing something incorrectly?
On the template I have '<div>$includedphp</div>' and on my plugin that is active I have
Code:
ob_start();
include('sitestats.php');
$includedphp = ob_get_contents();
ob_end_clean();
If anyone can help it would be much appreciated
Thanks,
Al