I have a php script that is waiting for ajax calls at
www.mydomain.com/file.php
The ajax call contains some variables, that the file.php will use to generate some csv results,
Would it be possible for the user to be able to download the csv content produced by file.php without having to save it somewhere on the server and stuff?
I don't want to redirect the user to any other page either, I want them to click a button then see the download dialog, and let them download the csv file.