Hello,
first of all I would like to say hi to all, this is my first post to your forum.
I am building a site using php, the main page is devided into 3 parts header(header.php), container (page I want to be displayed in the container div), footer (footer.php).
This configuration works fine when header.php and footer.php are in the same folder as the container page
The problem is that when the container page is in a subdirectory then including the header/footer . php using <? include ‘../header.php’; ?> results in loading the header without the images (links are incorrect).
Any suggestions on how to fix this, without creating duplicate header/footer files?