RE: [PHP] include file using .htaccess

From: Date: Sat, 21 Apr 2001 16:01:59 +0000
Subject: RE: [PHP] include file using .htaccess
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49678@lists.php.net to get a copy of this message
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) maxim@phpbeginner.com www.phpbeginner.com -----Original Message----- From: Keyur Kalaria [mailto:keyur@hyper-net.net] 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: 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

« previous php.general (#49678) next »