Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php require once

// The require_once expression is identical to require except PHP will
// check if the file has already been included, and if so,
// not include (require) it again.

<?php
    define('__ROOT__', dirname(dirname(__FILE__)));
    require_once(__ROOT__.'/config.php');
?>
 
PREVIOUS NEXT
Tagged: #php #require
ADD COMMENT
Topic
Name
9+9 =