On Mon, August 14, 2006 4:20 pm, Dave Goodchild wrote:
Hi all - I have several require_once statements in my web app to load
in
small function libraries. A common one bundles a variety of functions
to
handle date math and map month numbers to month names. I originally
defined
an array in
include() will output warning message and the script continues
require() will output error message and will halt the script
-Original Message-
From: Lieve Vissenaeken [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 2:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP] include and
Lieve Vissenaeken mailto:[EMAIL PROTECTED]
on Thursday, May 27, 2004 11:05 AM said:
Can anyone help me with this one:
Is there a difference between include() and require() ?
yes i can help you with it. go to www.php.net and search for include.
you will then find the answer you are
Can anyone help me with this one:
Is there a difference between include() and require() ?
http://php.net/require
http://php.net/include
require() and include() are identical in every way except how they
handle failure. include() produces a Warning while require()
Think you want something like this.
require(/tristan/library.php);
Hi,
I'm almost ashamed to ask this question as surely enough the
problem is something very basic but, nonetheless, I can't put my finger on
it. I'm trying to implement the concept of a library (library.php) on
According to the docu u should not require() files or
external code in loops
or u must use curly Bracket when used in if conditions.
But everythink works fine. I require() successfully in for
loops, I can use
it in if..elseif..else constucts without curly brackets.
(only one line of
for a lengthy post on the subject that clearly explains the
differences/similarities/history between require and include, see this
post by Zeev :
RE: [PHP] Require() vs Include()
http://marc.theaimsgroup.com/?l=php-generalm
7 matches
Mail list logo