php require request code example
Example 1: php requuire once
require_once('var.php');
Example 2: php require
// Require a file to be imported or quit if it can't be found
<?php
require 'somefile.php';
?>
// Alternatively: Include a file, if it can't be found: continue.
<?php
include 'vars.php';
?>