On Mar 19, 2010, at 1:51 PM, Michael LaMorte wrote:
> I had the same problem. Fortunately, the fix is pretty easy:
> 
> In the AquaticPrime.php file, scroll down to the bottom and look for this 
> line:
> 
> $headers .= "Content-Type: application/octet-stream; name=\"$name\"\n";
> 
> Now, change it to something like this:
> 
> $headers .= "Content-Type: application/x-yourappname; name=\"$name\"\n";

Thanks! I'll change the content type accordingly. For those interested in the 
topic, Benjamin Rister suggested (off list) to change the Content-Disposition 
header to include the filename from this

    $headers .= "Content-Disposition: attachment\n\n";

to this:

    $headers .= "Content-Disposition: attachment; filename=\"$name\"\n\n";

I'm now trying both things. I'll report back if the issue goes away in the next 
couple of weeks.

Thanks to all for the suggestions!

Regards
Markus
--
______________________________
Markus Spoettl
<http://www.rubitrack.com>

Reply via email to