I'm trying to incorporate a PHP nav-bar management script into an HTML site. I've configured Apache to process SSI tags in .html files, and have included the following SSI tag:
<!--#include virtual="/navbar.php" -->
The php file is rendered correctly, but Apache is not sending any HTML that comes after the include tag.
This happens with any PHP file, regardless of length of output or whether there is even any PHP coding in the included page.
I can include HTML files without this problem. That is, I get the whole page when I try:
<!--#include virtual="/test.html" -->
I'm wondering if somehow PHP is somehow ending the transmission, and if that can be prevented.
The system (yuck):
- Shared hosting on Interland (blue halo, linux)
- SSI enabled for .html files via .htaccess file in site root
- PHP version 4.1.2 (CGI!)
- Apache 2.0.44
Thanks for any insights,
Josh