[snip]
Yes it can be done, using the auto-prepend feature call a script that
turns output buffering on. Then in the auto-appended script read the
buffer a manipulate ith with the automatic header and footer. Thus you
modify the content only and achieve what you want without modifying 
the actual HTML file.
[/snip]

There are so many ways to skin this cat. You could (as you said, it will
require adding HTML to the list of php parsed file types) have the
header, body, and footer files read into a single file and then output.
You could do something like this ... (a lot of folks use the following
simple method to include navigation in web pages)...

<html>
<head></head>
<body>
<?php
        include("headerfile.inc");
?>
 ... other html ...

 ... other html ...

 ... other html ...

 ... other html ...

<?php
        include("footerfile.inc");
?>
</body>
</html>

I do not think that this needs to be difficult, but if you want more
complexity you could have it.

HTH!

Jay

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to