Could you help me please. How can I create and save files on my webserver using localStorage?
In the website there is simple web form:
<form>
<input type="text" id="name">
<button value="save" onclick="save()">Get the file</button>
</form>
I need to create .txt files in the website path on the webserver.
For example some person put to the form his name "Jim". And on the webserver create file jim.txt which contains "Hello, Jim!".
Can I create it with localStorage? If yes, how can I save file on the webserver?
Aucun commentaire:
Enregistrer un commentaire