I would include a php header (mysite.com/header.php
) in all the pages from a site.
How to do it properly?
There are relative links:
<?php include_once 'header.php'; ?>
<?php include_once '../header.php'; ?>
And this didn't help:
<?php include_once '/header.php'; ?>