Hi,
I can't make header function work with Mozilla for image name. And yet it works fine with IE 5.x-6.0.
Here is the code:
header("Content-type: image/jpeg");
header( "Content-Disposition: attachment; filename=$img_name" );
header( "Content-Description: PHP Generated Image" );
Imagejpeg($out) ;
And you can see result for exemple here:
http://www.siova.net/photos/index.php?type=pay&img=pay_0010&size=3&pref_size=768
With IE you can save image with a good filename, but with Mozilla the image name will something like photos_output.php instead of pay_0010_768.jpg 🙁
Which header works with Mozilla ?
Thanks.