Is it possible to create a download form data to local machine without writing it to a file one the server?
I want to click export button on form and have "save as" file dialog popup, that would let me save the form data to my local machine with a view to upload it back to server at some later stage. I want to do this without saving the form data to a file on the server and then downloading it.
I have encoded form data into json format.
$json_data=json_encode($data);
I just can't find a way to download this without writing it to a file on the server first.