Code: Select all
$root = realpath($_SERVER["DOCUMENT_ROOT"]); include "$root/inc/include1.php";
$_SERVER["DOCUMENT_ROOT"]? Look at just about any PHP file in the root of the phpBB installation. Most have at least one include in the first 20 lines.
Users browsing this forum: No registered users and 11 guests