[UPHPU] download of dynamically generated PDF
wadeshearer.lists at me.com
wadeshearer.lists at me.com
Sat Feb 12 18:08:02 MST 2011
I have a server that is dynamically generating a PDF as a string of bytes. Initiating a download and sending the bytes out to the buffer works in all browsers except IE (of course). In IE, the file cannot be read because it's corrupted. My experience with downloading files via a script is that it's a delicate science, but I was able to construct a script a few years ago that has the right combination of headers and server settings such that it works in all browsers. This is the first time I have tried to provide a file download for a file that is generated though (opposed to existing in the file system). Any tips on how to get this to work in IE?
More information about the UPHPU
mailing list