Tag Archives: require

include() vs require() vs *_once()

Just to settle this once and for all: include(‘file.php’); // will include file.php and emite a WARNING if the file is not found require(‘file.php’); // will include file.php and emit a FATAL ERROR if the file is not found require_once(‘file.php’); // PHP will check if the file has already been included, and if so, not… Read More »