How can I make a save file as button, something similar to
<input type="file" name="myfile">
except I don't want it to be input I want it to be output. And also how can I write things to a text file and then save the text file to whatever location is given?