require_once absolute path code example
Example 1: php requuire once
require_once('var.php');
Example 2: require_once 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';
?>