PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
no problems. all works fine. But while you are downloading you can't surf further on the website. The movies are about 500 Mb each so i would like it for our customers that they can proceed navigating our website while downloading the movie in the background. Or at least have two downloads at the same time.
Anybody have any idea why the website stops while downloading? As soon as i cancel the download the website loads fine again. But while downloading a movie everything stops.
Thanks
I believe most often this is more due to an individual's browser.. but it can be affected by how you initiate the download.. for instance, in a popup or something..
damn.. that aint good :s.. is there any other way of serving protected files where the php proces doesn't stay active while downloading that you're aware of?
All the files are in a htaccess protected folder so i need to serve them with php.. but this is not so good...
your web server can run mutliple instances of php concurrently.. otherwise only one person could be looking at a page at any given, which is quite useless for a web server now isn't it?
It may be a host configured thing that is outside your control. For instance, maybe they set a limit as to how much a particular visitor can occupy the CPU, or that they only allow a visitor to request from one page at a time..