Re: require or include ?
| From: | bvr | Date: | Fri, 29 Mar 2002 00:49:58 +0000 |
| Subject: | Re: require or include ? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90621@lists.php.net to get a copy of this message | ||
both include the file, but
use require() when it is required, and include() when it's not.
In the new behaviour these two make no further difference.
bvr.
Javier wrote:
If I include for ex. common.php in a script and this script also calls common.php what should I use require or include?