Re: Include and require
| From: | Luis Moreira | Date: | Mon, 20 Oct 2003 10:41:14 +0000 |
| Subject: | Re: Include and require | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21835@lists.php.net to get a copy of this message | ||
Browse through http://ww.php.net , search and read the
documentation.
If you do that and search for "include", for instance, you will find
The documentation below also applies to require(). The two constructs are
identical in every way except how they handle failure. include() produces a
Warning while require() results in a Fatal Error. In other words, 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.
Luis
----- Original Message -----
From: "Rinku Shivnani" <rinku@banas.guj.nic.in>
To: <php-windows@lists.php.net>
Sent: Monday, October 20, 2003 11:21 AM
Subject: [PHP-WIN] Include and require
> Dear All,
>
> Can any of you tell me what is the difference between include and require
?
>
> Regards,
> Rinku
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>