hey
ok, so im trying to require_once a file, that is 3 directories behind me, here is an image to show you what I mean.
So I am calling it from adminglobal, trying to get global and admin.php
here is my code:
and I get this error:
Warning: main(../../../scripts/php/global.php) [function.main]: failed to open stream: No such file or directory in /home/mdesigns/public_html/ScriptsNew/dump/scripts/php/adminglobal.php on line 4
this is really bugging me, as I do not want to use absolute paths (if I ever want to move the script/sell it)
as usualy, rep for helping etc!
ok, so im trying to require_once a file, that is 3 directories behind me, here is an image to show you what I mean.
So I am calling it from adminglobal, trying to get global and admin.php
here is my code:
Code:
require_once("../../../scripts/php/global.php");
require_once("../../../scripts/php/classes/admin.php");
and I get this error:
Warning: main(../../../scripts/php/global.php) [function.main]: failed to open stream: No such file or directory in /home/mdesigns/public_html/ScriptsNew/dump/scripts/php/adminglobal.php on line 4
this is really bugging me, as I do not want to use absolute paths (if I ever want to move the script/sell it)
as usualy, rep for helping etc!






