I am using tcpdf to generate a pdf file via php, and I am setting the headers accordingly so that when the php file is opened in browser, it displays as a pdf.
Now in another page I have a hyperlink pointing to this php file, and in Firefox, when someone right clicks this link and uses "Save As", the file saves as a pdf document. On IE however, it saves with a php file extension containing garbage value(pdf encoded content). Is there any way for IE to recognize the php as a pdf document?