include_once() function verifies whether or not the file has already been included. : include_once « Utility Function « PHP






include_once() function verifies whether or not the file has already been included.

 
If it has been included, include_once() will not execute. 
Otherwise, it will include the file as necessary. 

Its syntax follows: include_once (file insertion_file)
  
  








Related examples in the same category

1.include_once and require_once will only include a file once
2.Using include_once to include a file