I would like to write a small html file that would run locally and manipulate a small text file on my computer. My requirements are:
Is this possible at all? If yes, how do I read and write my text file using javascript?
Normally, it is not possible and would be a security issue.
How ever, if you use some plugins (ActiveX, FF extensions etc) they may enable you to do so.
There is also the subject of local storage you can use with the most newer browsers.
From your comments, I am wondering why not using PHP/Ruby any other server side language to do so? They are tailored just for that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With