Daily Archives: 07/05/2012
What is the difference between include() and require() in php
include() and require() function does the same process of calling a php or html or js file.
When the included file (i.e., calling a file) is missing in its actual directory, then require() function will returns FATAL ERROR and include() function will return WARNING.
Read: what is the use of include() and require() in php
include_once() function will include a file only when that file is not included before. This function is the recommended for including files, because including a file more than once will arise ERROR
require_once() function performs the same operation performed by




