WhaLberg
02-04-2007, 06:23 AM
Hello everyone!
I am writing that maybe someone needs it.
You have a homepage and you want to include a vBulletin file from outside the vBulletin directory. You have tried many ways but you couldn't do that.
Okay, all you need is that:
chdir('path/to/your/forums');
require_once('path/to/your/forums/file.php');
For example you are running AppServ system to run php and mysql in your computer.
Your forum directory is: C:/AppServ/www/forum
So, it will be like that:
chdir('C:/AppServ/www/forum');
require_once('C:/AppServ/www/forum/global.php');
I hope it helps!
Enjoy!
I am writing that maybe someone needs it.
You have a homepage and you want to include a vBulletin file from outside the vBulletin directory. You have tried many ways but you couldn't do that.
Okay, all you need is that:
chdir('path/to/your/forums');
require_once('path/to/your/forums/file.php');
For example you are running AppServ system to run php and mysql in your computer.
Your forum directory is: C:/AppServ/www/forum
So, it will be like that:
chdir('C:/AppServ/www/forum');
require_once('C:/AppServ/www/forum/global.php');
I hope it helps!
Enjoy!

