Hi,
First PHP project and I'm stuck!
I wish to allow users to click a button or a link and download a file.
However, my PHP must first perform some tasks, choose the right file, record the download event in a db etc. This I can do, but how do I then send the file as a response to the user's click?
Thanks for any help.