Search the Community
Showing results for tags 'relative path'.
-
Please I need help about relative path. I am confusing this relative file path. I understood other relative path but this relative path very confusing I feel. I need clear concept of this relative path.
-
I am organizing the folder structure of the site in what I thought was a sensible manner, but I am running into some major folder path headaches. There must be some sort of path variables/environment vars that can be set somewhere to alleviate this. As an example, I put all of the common stuff here (header, footer, css, images, etc): example.com/common If a file inside of the example.com folder calls header.php, it is simple: <?php include "common/header.php"; ?> If it is two levels deeper, using relative paths (yuck - please help) it is as follows:
- 6 replies
-
- relative path
- apache
-
(and 1 more)
Tagged with: