checkout the output control function at php.net http://www.php.net/manual/en/ref.outcontrol.php
they allow you to capture the test that would have normally been sent to the browser. take the value of the variable and write it to a file.. :) Jim Lucas ----- Original Message ----- From: "Christoph Starkmann" <[EMAIL PROTECTED]> To: "php forum" <[EMAIL PROTECTED]> Sent: Friday, November 23, 2001 6:02 AM Subject: [PHP] php->html > 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:[EMAIL PROTECTED] > http://www.fh-augsburg.de/~kiko > ICQ: 100601600 > ----- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

