php include external directory path code example Example: php include external directory path include($_SERVER["DOCUMENT_ROOT"]."/file.php");