Multiple Forced Downloads
Posted 27 June 2006 - 10:59 AM
I'm having an odd problem and I was wondering if anybody knew of a solution or could tell me what's going on...
I have a page where there are multiple files the user need to download. Each of the file links goes to a PHP page which has a GET parameter passed to it. The parameter is then used to identify the file to download. It reads out a file from outside the webroot and forces it to download. That's working great, however there is one problem. Once the user clicks one link the file starts to download, however if they try to click another download link while the first file is still transferring it doesn't start to download until the first file has finished.
Is it not possible for PHP to serve multiple files at once? Just to be clear I'm not trying to have one processed page serve multiple files, but have the same page be hit multiple times each time serving out a different file.
I'd really appreciate any thoughts you guys had as this is really got me stumped and I'm having a devil of a time trying to get anything out of google on this issue.
Thanks in advance for any thoughts!
Posted 27 June 2006 - 11:16 AM
Posted 27 June 2006 - 11:37 AM
edit: just realized how stupid I sounded.
more like "many webservers do not allow simultaneous downloads per IP", as one download can't be simultaneous
dave at linger dot com
Posted 27 June 2006 - 11:46 AM
Posted 27 June 2006 - 12:26 PM
Edit 2: oh no it isn't, hmmm.. wonder why i can't post php code? Makes it a bit tricky to get your guys wisdom on this issue
Posted 27 June 2006 - 02:40 PM
So short of anyone having any ideas, does anyone know of a more hardcore PHP forum I could try and pick the brains of?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users