Answers for "define the root of the site php"

PHP
0

doument root phpp

$RootPath = $_SERVER["DOCUMENT_ROOT"];
Posted by: Guest on March-06-2021
9

define root path php

<body>
<?php 
    define('ROOT_PATH', dirname(__DIR__).'/');
    include ROOT_PATH.'header.php';
    include ROOT_PATH.'main.php';
    include ROOT_PATH.'footer.php';
?>
</body>
Posted by: Guest on September-05-2021

Code answers related to "define the root of the site php"

Browse Popular Code Answers by Language