Koutaru
04-27-2003, 10:29 PM
:rolleyes: I maybe just doing everything wrong but how do I include global.php from another folder
example
include
http://www.domain.com/global.php
and
http://www.domain.com/test/global.php
in a file located
http://ww.domain.com/folder/file.php
I tried:
chdir(../test);
require('global.php');
to get it to work from /test folder
I tried:
$forumpath = '/path/to/forum/main';
chdir($forumpath);
require('global.php');
Nothing works :surprised: Can somebody help?
example
include
http://www.domain.com/global.php
and
http://www.domain.com/test/global.php
in a file located
http://ww.domain.com/folder/file.php
I tried:
chdir(../test);
require('global.php');
to get it to work from /test folder
I tried:
$forumpath = '/path/to/forum/main';
chdir($forumpath);
require('global.php');
Nothing works :surprised: Can somebody help?