Forum Moderators: phranque
(man, I can't stand dial-up...it stalled during the typing of this message and somehow posted as a new message....sorry moderators! Anyway, I would appreciate an answer to this post if someone can assist. Thanks).
parse HTML for PHP [google.com]
It's similar for SSI but I find it easier with PHP includes. You just put a call for the file in the html code at the place on the page you want the text or navigation links to appear
<?php include ("includes/sideNavigation.php");?>
Or in a /subdirectory/ it would be
<?php include ("..includes/sideNavigation.php");?>
You can use a .php or .txt file extension - it really doesn't matter as long as you're referring to it the right way in the include.
I'm sure this is redundant, so I'm sure someone will correct it, but this is what I've put into .htaccess and it always works, no matter which host
AddType text/html .html .htm
AddHandler server-parsed .html .htm
AddType application/x-httpd-php .html .php .htm
AddHandler application/x-httpd-php .html .php .htm