Re: php->html

From: Date: Fri, 23 Nov 2001 18:21:09 +0000
Subject: Re: php->html
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75598@lists.php.net to get a copy of this message
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" <kiko@nfq.de> To: "php forum" <php-general@lists.php.net> 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:kiko@nfq.de > http://www.fh-augsburg.de/~kiko > ICQ: 100601600 > ----- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#75598) next »