Re: [PHP] Include and require

2006-08-14 Thread Richard Lynch
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

RE: [PHP] include and require

2004-05-27 Thread php chucker
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

RE: [PHP] include and require

2004-05-27 Thread Chris W. Parker
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

Re: [PHP] include and require

2004-05-27 Thread Michal Migurski
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()

Re: [PHP] include (or require) doesn't seem to work

2004-05-11 Thread Daniel Clark
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

RE: [PHP] Include and require

2001-05-03 Thread Johnson, Kirk
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

RE: [PHP] Include and require

2001-05-03 Thread Philip Olson
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