RE: [PHP] include files with PHP 3.0.16
| From: | Stefan Kostopoulos | Date: | Mon, 16 Apr 2001 20:59:08 +0000 |
| Subject: | RE: [PHP] include files with PHP 3.0.16 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48811@lists.php.net to get a copy of this message | ||
Tim,
Check out the include() and require() function of php.
Stefan
-----Original Message-----
From: Tim Thorburn [mailto:webadmin@athydro.com]
Sent: Monday, April 16, 2001 5:38 PM
To: php-general@lists.php.net
Subject: [PHP] include files with PHP 3.0.16
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
file="filename.inc"--> with .asp and .shtml files, however, this does not
seem to work for me using PHP 3.0.16 (the version my web host uses).
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.
Thanks
-Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net