I assume you want to force the files to the user as a series of files to
download? Have you considered just offering a page of links to each
file? You can actually have the links go to a PHP script which can
stream the file as a forced download, and the user can then download the
files one-by-one
You really can't send multiple files in a single response, and you certainly
can't send multiple headers after data has gone through.
Zipping would be a nice approach. Another would be to use AJAX calls to
sequenctially download the files.
HTH,
- Kyle
-Original Message-
From: Ashley
tony mount wrote:
I have a question that follows on from this discussion. I have a loop
which creates a number of files. It first write each file to a server
location then sets up the headers and asks the Save As question. This
works OK once, but after the first download it exits without any
On Mon, 2009-07-27 at 10:30 -0400, kyle.smith wrote:
You really can't send multiple files in a single response, and you certainly
can't send multiple headers after data has gone through.
Zipping would be a nice approach. Another would be to use AJAX calls to
sequenctially download the
On Mon, 2009-07-27 at 07:34 -0700, Jim Lucas wrote:
tony mount wrote:
I have a question that follows on from this discussion. I have a loop
which creates a number of files. It first write each file to a server
location then sets up the headers and asks the Save As question. This
works OK
On Mon, Jul 27, 2009 at 10:34 AM, Jim Lucasli...@cmsws.com wrote:
Ashley's answer is correct. But the one thing she ...
He.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ashley Sheridan wrote:
On Mon, 2009-07-27 at 07:34 -0700, Jim Lucas wrote:
tony mount wrote:
I have a question that follows on from this discussion. I have a loop
which creates a number of files. It first write each file to a server
location then sets up the headers and asks the Save As
On Mon, 2009-07-27 at 07:43 -0700, Jim Lucas wrote:
Ashley Sheridan wrote:
On Mon, 2009-07-27 at 07:34 -0700, Jim Lucas wrote:
tony mount wrote:
I have a question that follows on from this discussion. I have a loop
which creates a number of files. It first write each file to a server
Thanks very much to all the he's and any she's who answered this.
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
9 matches
Mail list logo