Re: Totally weird behavior trying to download a Mac DMG file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/16/09 1:40 PM, "Brian Dunning" <brian@xxxxxxxxxxxxxxxx> wrote:

> However, when I complete a test purchase and download using the above
> code, the DMG file downloads, but then it mounts; the contents are
> copied into the Downloads folder; the image unmounts; and then
> deletes. All the contents are delivered, but not in a desirable way.

what headers are sent by the server when you don't use your php script? try
sending those headers instead.

perhaps try application/force-download as the content type instead. for
several user agents this seems to prevent then from doing something useful
with the file and just save it instead.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux