I have a page, for which I want to put multiple ID's in the $_GET string, and have the file which corresponds to the ID download.
Works great for one file, use the right headers, and fpassthru, but I'm not sure how to do this for many files outside of zipping them up together and sending one zip.
I thought maybe send the file and then write out a window.location touch of javascript, but since my content-type is an octet-stream, this is a no go... is there something else I'm not thinking of that someone out here knows?
Thanks,
Rob
Works great for one file, use the right headers, and fpassthru, but I'm not sure how to do this for many files outside of zipping them up together and sending one zip.
I thought maybe send the file and then write out a window.location touch of javascript, but since my content-type is an octet-stream, this is a no go... is there something else I'm not thinking of that someone out here knows?
Thanks,
Rob