Generating "download" pages [message #186399] |
Fri, 18 July 2014 13:55 |
Lew Pitcher
Messages: 60 Registered: April 2013
Karma:
|
Member |
|
|
I'm not certain that what I want can be done, let alone done with PHP, but
please let me describe the function I'm looking for:
On response to a trigger on one web page, I want to be able to generate and
display a new web page, /and/ at the same time, send an associated file as
a download.
The user selects (in this case) "Export recipes" (I'm developing a PHP/MySQL
recipe management application), which causes
1) the page to change to a "Download in progress" page, and
2) a file (in this case, an XML file containing the recipes) to be sent to
the client.
Is this doable? How do I do this with PHP?
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
|
|
|