PHP Requuire raz
require_once('var.php');
Nate
require_once('var.php');
// Require_once is ignored if the required file has already been added by any of the include statements.
<?php
require_once 'require_oncefile.php';
?>
define('__ROOT__', dirname(dirname(__FILE__)));
require_once(__ROOT__.'whatever');
define('__ROOT__', dirname(dirname(__FILE__))); //call define untill you get to the root directory
require_once (__ROOT__."/Path/To/File.php"); //append __ROOT__ to the string