I have my root folder, it has the css file and index. Then theres 3 folders, one with a downloads script, an inc folder, and an images folder.
When i include the the header from the inc file on the main index it works right, but when i include the header on the download index.php the images and css don't load becauses it looking in the same directory as the calling file.
Is there anyway to fix this? All i can think of is if i move my main to a subfolder like the downloads, that way it will all use ../ to get to the parent folder.