$page_title = "Home";
<?php include("http://www.example.com/navigation.php"); ?>
<?php include("http://www.example.com/footer.php"); ?>
<?php echo $page_title; ?>
allow_url_include = On
After some more testing, I found that you can't parse variables from a parent PHP file to an included one when the page is loaded externally, ie using
allow_url_include = On in
php.ini. I used this to avoid the issues referencing web root with PHP, but it turns out this is the way to do it.