I tried to accomplish this on a few occasions and never had much luck.
I posted here for some assistance but I found the answer on my own througout
the day.
If you want to use php include code in your vBulletin or vBadvanced pages
local or remote you can use this code in your phpinclude start template to
check if a file exists then display it otherwise display a file or message of
your choice (very handy)
Code:
$includefile="http://www.mysite.com/index.txt";
$handle = fopen($includefile, "r", 1);
if ($handle) {
fclose($handle);
ob_start();
require("http://www.mysite.com/index.txt");
$info = ob_get_contents();
ob_end_clean();
} else {
ob_start();
require("/home/www/public/web/errors/nofile.txt");
$info = ob_get_contents();
ob_end_clean();
}
Simply replace the urls with your own and your good to go.
enjoy...