I am storing my pdf's in a mysql database. When i want to display the pdf by clicking on a link i have to click twice on 'Open this file from its current location'. It first tells me that i have chosen to download the file from the php page ie. download.php and then i click again and it now gives me the name pdf name ie. test.pdf.
I have no problems with displaying images.
I was looking at my phpinfo.php page and my HTTP Headers Information Section had the following information
HTTP Request GET /phpinfo.php HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/vnd.ms-excel, /
Accept-Encoding gzip, deflate
Accept-Language en-ie
Connection Keep-Alive
Should i put text 'application/pdf ' in the HTTP Request section?