include once function

The include_once() function has the same purpose as include() except that it first verifies whether the file has already been included.

include once syntax:

 include_once (filename);

If a file has already been included, include_once() will not execute. Otherwise, it will include the file as necessary. Other than this difference, include_once() operates in exactly the same way as include(). The same quirk pertinent to enclosing include() within conditional statements also applies to include_once().

include once example :

 include_once "includes/";
 /* the script continues here */
?> is a File.