Friday, February 20, 2009

What are the differences between require and include, include_once?

File will not be included more than once.
If we want to include a file once only and further calling of the file will be ignored then we have to use the PHP function include_once(). This will prevent problems with function redefinitions, variable value reassignments, etc.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home