Forum Moderators: coopster
<?php
$title ='Home';
include($_SERVER["DOCUMENT_ROOT"]."/inc/header.php");
include($_SERVER["DOCUMENT_ROOT"]."/inc/logo.php");
include($_SERVER["DOCUMENT_ROOT"]."/inc/topnav.php");
include($_SERVER["DOCUMENT_ROOT"]."/inc/leftnav.php");
<?php
include $server_inc."/header.php";
include $server_inc."/logo.php";
include $server_inc."/topnav.php";
include $server_inc."/leftnav.php";
?>
$server_inc = $_SERVER["DOCUMENT_ROOT"];
etc....
Looks like someones short hand.
HTH
$server_inc=$server_root."/inc";
$server_inc = $_SERVER["DOCUMENT_ROOT"]."/inc";
your included files won't just be sitting in the root, I would imagine they are in a dir somewhere which looks like its named inc.
therefore
your base path for include files is a dir named inc in the site root
$server_inc = $_SERVER["DOCUMENT_ROOT"]."/inc";