I am working on my first CMS and I have designed a header and footer that I wish to share accross my website folder. I have created a main folder with this kind of set up
Project1 -> (Folders) images,includes,javascripts,styles,functions, admin (files) index.php, content.php
files in admin index.php, edit.php, delete.php, etc.
My problem is for the header to display its images and scripts I need to copy the images and scripts folder into the same folder as the header. Is there anything I can do either to the header so that where ever I paste
<?php include('../includes/header.php');?>
It will use one global stylesheet and images folder?