the syntax for it is:
php_value auto_prepend_file /full/path/to/the/prepend.inc
php_value auto_append_file /full/path/to/the/append.inc
or you could also do this:
php_value include_path /full/path/to/the/includes
php_value auto_prepend_file prepend.inc
php_value auto_append_file append.inc
this would allow you to include anything else you wish inside prepend.inc as
well as having some more files included from pages without any full pathes
unless they are not found in 'includes'
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-----Original Message-----
From: Keyur Kalaria [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 22, 2001 12:51 AM
To: php
Subject: [PHP] include file using .htaccess
Hello,
How can I include any html or php file via .htaccess ?
I want to include an html file in a site contaning around 1000 pages. I want
to add header & footer dynamically on these pages .
Is there any way to include header & footer on these pages using .htaccess
file.
thanks in advance
keyur
$$$$$$$
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]