php->html
| From: | Christoph Starkmann | Date: | Fri, 23 Nov 2001 14:02:40 +0000 |
| Subject: | php->html | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75575@lists.php.net to get a copy of this message | ||
Hi there!
I had to create a large number of HTML-files with large parts
within that are identical (the navigation).
To avoid redundant writing during the creation of the files,
I used PHP-Includes to include this navigation from one file.
Now I have to get static HTML-pages from these php-enriched files.
I am thinking about using regexp to filter the php-tags and include
the corresponding HTML-Sniplets.
Or I guess I could open a connection to the server and read these
files as if I was a client (browser) and stzore the resulting HTML-pages.
Any idea what would be easier (I got very few time...)
Any hints?
Cheers,
Kiko
-----
It's not a bug, it's a feature.
christoph starkmann
mailto:kiko@nfq.de
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-----