PHP root folder for include function
$root = $_SERVER['DOCUMENT_ROOT'];

include_once $root.'/header.php';

include_once $root.'/footer.php';