Thanks everyone. I looked into the Firefox browser forums/support and
found that the "Right-Click >> Save Link As" does not send the header
response, as it will take the file as-is. So in this example, it sees
the 'download.php' and then takes that as the default name. It then
starts the download o
2008/8/4 Will <[EMAIL PROTECTED]>:
> I am trying to have users download a file named 'Setup.msi', however
> under a PHP file with the sent header information, the default name to
> $forcename = "ApplicationSetup_v1_0.msi";
> $filename = "Setup.msi";
>
> header("Content-Type: application/force-dow
On 8/3/08, Will <[EMAIL PROTECTED]> wrote:
> @readfile($filename);
You should look into a webserver and instead of using readfile() which
will keep the PHP engine open while it is spoonfeeding the browser,
offload the file to the webserver.
nginx has X-Accel-Redirect (nginx is the best anyway)
L
3 matches
Mail list logo