I'm using simple include files for common elements on a mostly static website. I do so like this
<?php include('/inc/header.php'); ?>
But this doesn't work unless i remove the leading slash, and then it only works on pages in the root directory. What am I doing wrong?