..


Sponsored Links

include_once

Include_once function is identical to include () except that it does not include the same file multiple times.

For example:






 / / The file is included twice!







 includes "example.txt";







 includes "example.txt";








 / / The file is included only once







 include_once "example.txt";







 include_once "example.txt";



Include_once function is useful in case of inclusion of files which in turn include other files.

In the same category ...
E-Learning
Linux (Course) Linux (Course)
Complete guide to open-source system. From 49 €.
MySQL (Course) MySQL (Course)
Management of open-source database. From 39 €.
PHP (Course) PHP (Course)
Full course for creating dynamic Web sites. From 49 €.
Sponsored Links