On 6/16/09 1:40 PM, "Brian Dunning" <br...@briandunning.com> 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

Reply via email to