vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Including or requiring vBulletin files from outside.

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!


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum