Templates
| From: | Truniger, Stefan Martin | Date: | Thu, 14 Feb 2002 09:46:41 +0000 |
| Subject: | Templates | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84713@lists.php.net to get a copy of this message | ||
Hi every1,
I've been playing around with template.inc out of PHPLib.
Now there's just one question dwelling in my head.. is it possible
somehow to get the server to parse any html-file that is requested.
example: user requests file index.html, index.html is parsed thru a
standard template to generate the nicely formatted page...
index.html only holds the content of the site and is pure html (maybe
with a tag or two to mark the content and the title or so, but no or
very very little PHP code in it.)
I hope this is more or less understandable... ;oP
I'd appreciate any help on that even if you say that it will never
work..
thanks
Stefan