Re: include, require, require_once
| From: | Joshua Pierre | Date: | Sat, 21 Jul 2001 03:21:11 +0000 |
| Subject: | Re: include, require, require_once | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58986@lists.php.net to get a copy of this message | ||
Hi,
On Sat, Jul 21, 2001 at 12:18:38AM -0300, Thiago Locatelli da Silva wrote:
> what is the diference beetwen this functions?
I believe the include/require_once() functions check to see if that particular include was
previously included in the script and if it was it ignores it, at least that is the way I understand
it.
require() differrs from include() because it will always read the targetted file even if the line of
code it is sitting on is never actually executed.
Hope that describes it for you.
Regards,
Josh
--
First post to list :)