Hi,
In my standard start folder I have these files:
- footer.php
- header.php
- several pictures for footer and header
- folder called "music"
In the folder "music" I have one music.php file that have require lines for the header and footer like:
php-code:
require("../header.php");
require("../footer.php");
The problem is that the pictures for the header and the footer are never shown. It seems like the php-generator (or what you call it) is looking for the picture files in the "music" folder, while there are in the root folder.
Is there a better way to solve it??
Please help otherwise I will have to have all php files in the root directory of the website - and that is a lot of files!!