|
How would I include php include and cgi include statments on the same html file?
MIME Types: application/x-httpd-php html htm shtml shtm
- when the file is HTML, php include statments Works fine but not cgi (<?php require("file.html"); ?>)
- when the file is SHTML, cgi include statments Works fine but not php (<!--#exec cgi="./cgi-bin/file.cgi"-->)
I need to include both on the same page...please help.
Thanks!
************************
I found the solution:
I used an SHTM file and...
replaced: <?php require("file.html"); ?>
with: <!--#include virtual="file.html" -->
Last edited by spencermjax; 04-16-2008 at 11:24 AM..
Reason: found solution
|