Log in

View Full Version : Accessing Global.php from a subdomain?


Reeve of shinra
03-04-2005, 08:31 PM
Hmmm.... if I have my forums on www.shinraoline.com/board/ -- is there anyway to access the global.php from a sub-domain? Everything is on the same server.

I assume at the worst, I can just write up something to access the DB but meh.

Akex
03-04-2005, 09:10 PM
just put a chdir('path_to_your_forum'); in the script you want to run and then call global.php.