I want to be able to dynamically generate csv files for users, make them available to download - but only to that particular user.
Generating the csv file isn't a problem, but in order to ensure that no random person can download it I presume I'm to save it outside of the web root? So having done this, I can write a php script to verify the user's details, but how do I make it then send the user the file?
Yes that summerizes it - how to I get a php script to output a file?