Re: Include and require

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux