RE: [PHP] Saving a dynamic file

2006-08-04 Thread Miguel Guirao
Using the OB functions I got it done!! Thanks y'all!! Miguel -Original Message- From: Weber Sites [mailto:[EMAIL PROTECTED] Behalf Of WeberSites LTD Sent: Sabado, 29 de Julio de 2006 02:00 p.m. To: 'MIGUEL ANTONIO GUIRAO AGUILERA'; php-general@lists.php.net Subject: RE: [PHP] Saving

Re: [PHP] Saving a dynamic file

2006-08-03 Thread Richard Lynch
?php ob_start(); //rest of code here. $output = ob_get_contents(); ob_end_clean(); file_put_contents('/full/path/to/some/file', $output); echo $output; ? On Fri, July 28, 2006 9:01 pm, MIGUEL ANTONIO GUIRAO AGUILERA wrote: Hi!! I'm in the need of saving to a file a dynamic page

RE: [PHP] Saving a dynamic file

2006-07-30 Thread Brady Mitchell
Depends on what you are planning to do with the file. Saving it to PDF is also possible, take a look at http://fpdf.org and http://htmldoc.org/. Brady -Original Message- Hi!! I'm in the need of saving to a file a dynamic page that I generated from a PHP script, taking data from a

Re: [PHP] Saving a dynamic file

2006-07-29 Thread Larry Garfield
Depends what you're saving it for. Either of those options works, although you'd probably find it easier to save to OpenDoc format rather than Word, as OpenDoc is just XML with compression (and used by every major word processor except Word). Saving just a plain XML file is the same as