Results 1 to 2 of 2
Thread: include relative addresses
Apr 30, 2009, 05:09 #1
- Join Date
- Oct 2008
- 0 Post(s)
- 0 Thread(s)
include relative addresses
I am building a system that includes all validation, database function php pages in one global page
then in my system I will call the global page which will hold all the includes.
This is done to save time adding all the includes on every page.
Problem is that when i call the global.php script when in another folder the pages in the global can't be found.
when in root it is fine, when calling global.php in e.g. website folder/pages/ the scripts in the global.php cant be found.
i assume it is a relative linking problem, anyway i can resolve this issue?