require_once('file/file.php'); it means that 'file.php' will be included once in the page, and it must exist in the folder 'file', otherwise an error will be shown. include('file/file.php'); It will only try to include the 'file.php' in a page, if the 'file.php' does not exist, no error will be shown. Hope it will help you understand the difference.