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:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 4:44 PM
To: [EMAIL PROTECTED]
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

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

Reply via email to