By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,884 Members | 949 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,884 IT Pros & Developers. It's quick & easy.

Simultaneous downloads using php

P: 1
I need the ability to download more than one large file at the same time from the same php page. Is there a php function, core or 3rd party, that allows this, or is there another way of doing it?

I have tried initiating the download outside of a session each time, I have tried initating the download in a popup window, in a new window, and on a new php page, and nothing works when the link originates from the same page. I have also tried various http headers, such as "Connection: close" and this doesn't help. The only time I can download more than one file at the same time on my page is if I start a new Internet Exporer window from my desktop of that page, and do it from there. Then a simultaneous download of another file from that same page is possible.

Is there any way of allowing the download of multiple files at the same time when the download links originate from the same page, without starting another Internet Explorer window manually, and without having to open a duplicate of that same page?

Feb 5 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 4,258
Short answer is NO. A PHP script running in a browser runs as a single process. There is no thread/multi-process support in PHP

Feb 14 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.