PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm having problems with downloading served PDFs with IE. With Firefox everything works beutifully. The PDFs are in a non-public directory which is accessable to PHP. I have tried all kinds of different headers and googled until my eyes burned but could not find an answer to this. This is the code I'm using:
I've tried stripping all but the necessary headers, rearranging them to suit IE but nothing. The purpose of this script is to make sure the user is authenticated and known before giving them a file(that portion has been left out). These pdfs can not go into a public directory. Any help would be very appreciated.