jafik2005
08-31-2010, 11:29 AM
Hello,
I tried to include content of php file in my header template using the procedur here http://www.vbulletin.com/docs/html/templates_externalfiles , So i created a php file "test.php" in the root of my website folder which content is :
<?php echo 'hello' ?>
then i created a plugin for the global_start :
ob_start();
include('test.php');
$includedphp = ob_get_contents();
ob_end_clean();
I tried then to insert {vb:raw includedphp} in my header template but nothing appears in my header.
What is for you the problem ?
Thank you in advance for your answer
PS : I tried to change the structur of the path ("/test.php ", "../test.php", Absolute path...) but in vaine
Ps : The use of plugins is activated from the Vbulletin Option
I tried to include content of php file in my header template using the procedur here http://www.vbulletin.com/docs/html/templates_externalfiles , So i created a php file "test.php" in the root of my website folder which content is :
<?php echo 'hello' ?>
then i created a plugin for the global_start :
ob_start();
include('test.php');
$includedphp = ob_get_contents();
ob_end_clean();
I tried then to insert {vb:raw includedphp} in my header template but nothing appears in my header.
What is for you the problem ?
Thank you in advance for your answer
PS : I tried to change the structur of the path ("/test.php ", "../test.php", Absolute path...) but in vaine
Ps : The use of plugins is activated from the Vbulletin Option