Jay Blanchard wrote:
> 
> 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.

The reasonn for my "difficult" answer was because the criteria for his
solution indicated that he did not want to modify the html pages themselves.
Thus the above solution is invalid :|

Cheers,
Rob.
-- 
.---------------------------------------------.
| Worlds of Carnage - http://www.wocmud.org   |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the  |
| stuff of nightmares grasp for your soul.    |
`---------------------------------------------'

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

Reply via email to