SyntaxFix
Write A Post
Hire A Developer
Questions
require('/yourpath/yourphp.php');
http://php.net/manual/en/function.require.php
require_once('/yourpath/yourphp.php');
http://php.net/manual/en/function.require-once.php
include '/yourpath/yourphp.php';
http://www.php.net/manual/en/function.include.php
use \Yourapp\Yourname
http://php.net/manual/fa/language.namespaces.importing.php
Notes:
Avoid using require_once because it is slow: Why is require_once so bad to use?