evilc
04-03-2007, 01:28 PM
I have tried the instructions given here (http://www.vbulletin.com/forum/showthread.php?t=173937)
So I created a plugin with global_start and added this
ob_start();
include('/random/RanCon.php');
$includedphp = ob_get_contents();
ob_end_clean();
And in the postbit legacy template I added
$includedphp
BUT , All i get is blank space where the output of the php file should be.
I think its the wrong path that I am using in the include statement.. can anyone tell me what the correct path should be?
Forum is at www.domain.com/forum
PHP file is at www.domain.com/forum/random/RanCon.php
Server path is /domain.com/public_html/forum/random
Help!
So I created a plugin with global_start and added this
ob_start();
include('/random/RanCon.php');
$includedphp = ob_get_contents();
ob_end_clean();
And in the postbit legacy template I added
$includedphp
BUT , All i get is blank space where the output of the php file should be.
I think its the wrong path that I am using in the include statement.. can anyone tell me what the correct path should be?
Forum is at www.domain.com/forum
PHP file is at www.domain.com/forum/random/RanCon.php
Server path is /domain.com/public_html/forum/random
Help!