Let's say I have the majority of my site in the 'root' WWW directory on the server, such as:
My current header & footer files are set to respect this configuration and work beautifully. I am now in the process however of creating a new directory which will be used in the main site, such as:
www.domain.com/newfolder/index.php
What would be the easiest way to make the header and footer file work in both directories instead of having to create a new header/footer file for each directory? Perhaps another way to say this, is there a way to append a "relative" file name depending on which directory the file is in?
Thanks!