I have a include directory that has a header.php and footer.php which in turn has references to files in my images directory. This all works perfectly when I include the header.php and footer.php in my application root directory.
However, when I try to include the files in script files contained in other directories of my application the file references are of course wrong.
Does anyone know of any good ways of fixing this? Perhaps by some way of defining an application root?
Thanks,
Marius