●このhtml(PHP)、iPhoneだとDownloadにならずにjpegが表示されてしまう!
- header( "Content-Type: application/octet-stream");
- header( "Content-Disposition: attachment; filename={$filename}.jpg");
- @readfile($jpegfile);
header( "Content-Type: application/octet-stream");
header( "Content-Disposition: attachment; filename={$filename}.jpg");
@readfile($jpegfile);
0 件のコメント:
コメントを投稿