Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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';
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #require
ADD COMMENT
Topic
Name
7+1 =