Re: [PHP] PHP download page blocking other HTTP requests

2011-06-07 Thread Pete Ford
On 06/06/11 21:07, Richard Quadling wrote: On 6 June 2011 13:55, Pete Fordp...@justcroft.com wrote: Is there something on the Apache/PHP end that might be causing this blocking? (Apache 2.2.10, PHP 5.2.14) The browser and / or OS may be obeying the settings about the number of simultaneous

Re: [PHP] PHP download page blocking other HTTP requests

2011-06-07 Thread Richard Quadling
On 7 June 2011 09:24, Pete Ford p...@justcroft.com wrote: On 06/06/11 21:07, Richard Quadling wrote: On 6 June 2011 13:55, Pete Fordp...@justcroft.com  wrote: Is there something on the Apache/PHP end that might be causing this blocking? (Apache 2.2.10, PHP 5.2.14) The browser and / or OS

[PHP] PHP download page blocking other HTTP requests

2011-06-06 Thread Pete Ford
I have a file download 'guardian' page which does something like this: $size = filesize($path); $fi = @finfo_file($path, FILEINFO_MIME_TYPE); @header('Content-type: ' . $fi); @header('Content-Length: ' . $size); @readfile($path); exit; ($path is derived from parameters in the request, including

Re: [PHP] PHP download page blocking other HTTP requests

2011-06-06 Thread Richard Quadling
On 6 June 2011 13:55, Pete Ford p...@justcroft.com wrote: Is there something on the Apache/PHP end that might be causing this blocking? (Apache 2.2.10, PHP 5.2.14) The browser and / or OS may be obeying the settings about the number of simultaneous connections per host.

[PHP] Download Page?

2002-06-06 Thread Nick Richardson
Hi all, I was wondering how i could make a download 'landing' page, that once a user has filled out the download form and submitted it, it will send the file they are requesting as a download (not display a link to it, or display it in the browser) and also render a page that says something like

Re: [PHP] Download Page?

2002-06-06 Thread Kevin Stone
PROTECTED] Sent: Thursday, June 06, 2002 12:38 PM Subject: [PHP] Download Page? Hi all, I was wondering how i could make a download 'landing' page, that once a user has filled out the download form and submitted it, it will send the file they are requesting as a download (not display a link

RE: [PHP] Download Page?

2002-06-06 Thread Ray Hunter
To: PHP General Subject: Re: [PHP] Download Page? Common question becuase of it's somewhat unintuitive nature, but it is very simple. Do a search for keywords header and Content-disposition. That should reveal what you want. Good luck. -Kevin - Original Message - From: Nick Richardson