RE: [PHP] require or include ?
| From: | Rick Emery | Date: | Thu, 28 Mar 2002 22:44:04 +0000 |
| Subject: | RE: [PHP] require or include ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90601@lists.php.net to get a copy of this message | ||
require() is used when you want the file included regardless of whether any
information is used from it. include() may be conditional.
-----Original Message-----
From: javier [mailto:javier@leeloo.mine.nu]
Sent: Thursday, March 28, 2002 4:44 PM
To: php-general@lists.php.net
Subject: [PHP] require or include ?
When should I use require or include?
I read that include copies the content from the file to the script that
is calling it.
And require is like #include in C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php