Re: Generating Static Pages
| From: | Prottoss | Date: | Tue, 01 Jan 2002 18:59:43 +0000 |
| Subject: | Re: Generating Static Pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79176@lists.php.net to get a copy of this message | ||
In my experience the speediest way was to create a temporary buffer to which
you append the html you wish to output and then write the buffer to file in
one go.
Prottoss
webmaster@mediaminer.org
http://www.mediaminer.org/
On January 1, 2002 01:41 pm, David Jackson wrote:
> This may seem a little odd?
> But what I want to do is use PHP/MySQL to generate static pages.
> The applet I tinkering with is a sales worksheet and to start with will
> consist of catalog/product maintience page, and a worksheet allow sales
> reps work up pricing for customers. Eventfully this would tie into an
> "contact manager". The code to generate the catalog is below:
> I'm sure it's a fopen(), passthru operation, I 'm just not sure what's
> the most effective why to write the HTML out to file?
>
> -- Thanks for your time -- David
>
> ------------- Make Catalog PHP -------------
--