Hi,
I'm currently working on a rather large site and have just completed the
navigation portion of it. I'd like to make use of server side includes so
that if I have to make changes down the road, I won't have to chance
potentially 100s of files. Normally I use !--#include
Is there an equivalent to !--#include file="filename.inc"-- in
PHP? And
will it work in version 3.0.16. I've gone through the online manual but
found nothing that would help in this situation.
include("filename.inc");
or
require("filename.inc");
http://www.php.net/include
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Tim Thorburn) wrote:
Is there an equivalent to !--#include file="filename.inc"-- in PHP? And
will it work in version 3.0.16. I've gone through the online manual but
found nothing that would help in this situation.
Tim,
Check out the include() and require() function of php.
Stefan
-Original Message-
From: Tim Thorburn [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16, 2001 5:38 PM
To: [EMAIL PROTECTED]
Subject: [PHP] include files with PHP 3.0.16
Hi,
I'm currently working on a rather large
4 matches
Mail list logo