Well, personally I find it a HUGE bug of which should of been fixed ages ago, but let me try explain it in as much detail as I can...
The reason I am even bothering with PHP, is that I can somewhat use it as content management system for my websites. Which works great for things like header.php and footer.php.
All means well in the root directory, until I try to call the same file in another directory.
root/index.php <--- Home Page
root/images <--- Image directory(Will not change)
root/header.php <--- Header for ALL pages
root/footer.php <-- Footer for ALL pages
So all works fine when I include the header.php and footer.php in the home page, as in those files it calls images from the root directory.
As soon as I do:
and include the header.php and footer.php like so:
<?php include('../header.php'); ?>
<?php include('../footer.php'); ?>
Any hints? xD
Thanks in advanced.