The Android browser does not set the download filename correctly.
The Problem is the ; character after filename in "Content-Disposition" header:
header('Content-Disposition: attachment; filename="'.basename($name).'";');
header('Content-Disposition: attachment; filename="'.basename($name).'"');
The Problem is explained here:
You can also have a look to the RFC:
I have append a patch file for you (tcpdf.php.diff).
Thank you for the excellent library.
Log in to post a comment.