* Thus wrote Magnetotron ([EMAIL PROTECTED]):
> Can anyone verify / solve the problem I am having with downloading an
> image..
> 
> <?php
>  $fpath = "../tmp/";
>  $fname = "somefile.jpg";
> 
>  header( "Pragma: no-cache\n" );
>  header( "Content-type: image/jpg\n" );

Should be image/jpeg.

>  header( "Content-Disposition: attachment; filename=\"$fname\"\n" );

Don't know if that is the problem but its worth a shot right now,
mozilla usually is more trusting with reading headers than IE.

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

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

Reply via email to