Hello everyone; I am in desperate need of some help with this!
I am constructing a website with css and php_includes. My problem is that I do not know how to reference the root directory (where the includes file is) from within a deep-rooted subdirectory.
I know that I can reference a file in the root directory from "root/sub/file" by prefixing the includes path with "../", however how can I reference the root from "root/sub/sub/file"?
I really would appreciate any help here as I have been searching the internet for an answer for the last three days!
Thank you for your time,
- Benjamin.
I am constructing a website with css and php_includes. My problem is that I do not know how to reference the root directory (where the includes file is) from within a deep-rooted subdirectory.
I know that I can reference a file in the root directory from "root/sub/file" by prefixing the includes path with "../", however how can I reference the root from "root/sub/sub/file"?
I really would appreciate any help here as I have been searching the internet for an answer for the last three days!
Thank you for your time,
- Benjamin.
Comment