RE: Seeking a function, class or other means to save the current PHP page as an HTML file on the server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If by 'breaks' you mean that it's not saving as a .HTML file, you should be 
able to set the filename in the header when you force the download.

If that's not it, if you care to elaborate, maybe we can give a better 
suggestion.

-TG

----- Original Message -----
From: "Greg Cocks" <gcocks@xxxxxxxxxxx>
To: <php-windows@xxxxxxxxxxxxx>
Date: Thu, 6 Mar 2008 20:40:36 -0700
Subject: RE:  Seeking a function, class or other means to save the 
current PHP page as an HTML file on the server.

> Thanks so much to all for the replies...
>  
> 
> Michael's method works work for a static page... but as the (*.php) page
> gets data from a PostgreSQL database to display it "breaks", not
> unreasonably, when it is saved using this method as a *.html.
>  
> 
> Fun to learn new stuff... I am off to try and learn how I can make this
> work, with the leads provided...    :-)
>  
> 
> In the *meantime*, under the "Save As HTML" icon I have put some text
> letting the user know about File... Save Page As... (or ... Save As...)
>  
> 
> I am going to look at maybe using this method with a PDF generation
> method to 'make' the page as a PDF for them to download...
>  
> 
> Thanks again... what a resource...
> 
> Regards,
> 
> GREG COCKS
> 
> gcocks | at | stoller.com <mailto:gcocks@xxxxxxxxxxx> 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux