Re: Toolbar
by "Rossi Designs" <webmaster(at)rossidesigns.net>
|
Date: |
Mon, 20 Mar 2000 20:26:22 -0500 |
To: |
"Nik Gare" <nik(at)cheddarcheese.de>, <ches(at)io.com>, <hwg-languages(at)hwg.org> |
References: |
io jeff cheddarcheese |
|
todo: View
Thread,
Original
|
|
from the docs
http://php.net/manual/function.require.php3
Unlike include(), require() will always read in the target file, even if the
line it's on never executes. If you want to conditionally include a file,
use include(). The conditional statement won't affect the require().
However, if the line on which the require() occurs is not executed, neither
will any of the code in the target file be executed.
Rossi Designs
(904) 226-8979
P.O. Box 1084, Holly Hill, Florida 32125-1084
http://rossidesigns.net
----- Original Message -----
From: Nik Gare <nik(at)cheddarcheese.de>
To: <ches(at)io.com>; <hwg-languages(at)hwg.org>
Sent: Monday, March 20, 2000 7:25 PM
Subject: Re: Toolbar
| In article <000701bf92c1$3910a9c0$5f1bd0d1@jeff>,
| Rossi Designs <webmaster(at)rossidesigns.net> wrote:
|
| > using PHP
| > <?php require("yourfile.inc"); ?>
|
| Can't you also use include() in PHP, and if so, what are the differences
| between include() and require() ?
|
| TTFN
| Nik
|
| --
| http://www.cheddarcheese.de
|
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA