Hello Everyone
I'm having a problem pulling in a PHP file into the VB header, I'm using the instructions as set out in the VB manual for external PHP files, but it's giving this error in the header:
Quote:
Warning: include(home3/ventscom/public_html/index.php?t=index_menu) [function.include]: failed to open stream: No such file or directory in /global.php(360) : eval()'d code on line 2
|
The plugin code entered in the plugin manager is:
PHP Code:
ob_start();
include('home3/ventscom/public_html/index.php?t=index_menu');
$includedphp = ob_get_contents();
ob_end_clean();
The index.php file is definitely located in the public_html directory and I've double checked the path in PHP info, I've tried various path permutations without luck.
Any suggestions?
Thanks in advance.