Hi!
I have a few PDF files stored on a database. My client says that firefox doesn't force you to save the file, instead tries to open it, and it's displayed wrong (like a text file full of weird characters).
I think this just happens on older versions of Mozilla/firefox, but I think it can be solved.
Does anybody know how?
I was trying something like:
header('Content-Disposition: attachment; filename="' . $id_file . '_' . $file_name[0] . '.pdf"');
Any help will be appreciated!