[ILUG] Using PHP to output HTML and download a fie

Michael Jonker michael at reviveyourpc.ie
Mon Feb 13 10:32:09 GMT 2012


Another strategy could be to automatically save the PDF to a cache 
directory on your server, then generate a confirmation page with a 
'download now' link to the cached file.

On 13/02/12 08:41, kae verens wrote:
> simplest solution (probably):
>
> 1. generate the HTML to show the confirmation page and send that to the
> browser.
> 2. have a meta refresh in there that then loads up the actual PDF as a
> force/download file
>
> kae



More information about the ILUG mailing list