-3

I'm trying to figure out how to "store" simple text into a .txt file with html.

A Html form page, that you'd input "data/text" into, and it would post the text into the .txt file.

then later you can "get" the data you posted.

Im trying to do this without a server, all local. (No PHP).

Thanks

Ilan Kleiman
  • 1,149
  • 5
  • 18
  • 36
  • *"Im trying to do this without a server, all local. (No PHP)."* This comes off as a list of demands. You need to post relevant code (html/javascript). – Dom Sep 15 '13 at 16:07
  • http://stackoverflow.com/questions/13405129/javascript-create-and-save-file#answer-13405279 – Dom Sep 15 '13 at 16:11
  • you need to write it to a comma delimited file witch is just a textfile witch is used instead of a database but you askd the question wrong you cant write it without any javascript, plain html is just that plai, javascript provides funktionality – Nikki Sep 15 '13 at 16:12

1 Answers1

4

You can't. You can store data into a Cookie or the browser LocalStorage, but arbitrary filesystem writing isn't possible with just HTML.

Jack
  • 115
  • 7