Hi, I'm not hugely up on the HTTP protocal, my problem is that I have a page where once the user has clicked on a button (link or form submission) I need to send them a zip file, on this completing successfully I want to have the browser directed to a completion page ie.
send zip file -> on success -> success page
-> on failure -> failure page
I have no problem doing one or the other, ie redirecting the browser or sending the user a file using the header() function, the problem is sending one header after the other...Is this possible?
As it requires php to send 2 sets of headers.
And is there a way of getting confirmation of a successful file download?
Any ideas?