On Thu, 04 Sep 2008 05:21:16 -0700, Bunty wrote:
When we want to call another file at that time we can use both include
and require.Please tell me what's the difference between them?
You can find the manual here:
http://www.php.net/manual/en/
The page on require():
http://www.php.net/manual/en/function.require.php
It says:
"require() and include() are identical in every way except how they
handle failure. They both produce a Warning, but require() results in a
Fatal Error. In other words, don't hesitate to use require() if you want
a missing file to halt processing of the page. include() does not behave
this way, the script will continue regardless. Be sure to have an
appropriate include_path setting as well."