How to add/update/delete content txt file?
-
I want to make website can add / update / delete content file text (.txt). For example I created a textbox and fill information. Then press the button to save this information in a txt file. I also want to display the content of txt file in my web page. Please help me. Because I embedded web in microcontrollers, and it can't run apache, mysql, php so I must use html, javacript and I do not have much experience in javascript. Thanks
-
I want to make website can add / update / delete content file text (.txt). For example I created a textbox and fill information. Then press the button to save this information in a txt file. I also want to display the content of txt file in my web page. Please help me. Because I embedded web in microcontrollers, and it can't run apache, mysql, php so I must use html, javacript and I do not have much experience in javascript. Thanks
-
I want to make website can add / update / delete content file text (.txt). For example I created a textbox and fill information. Then press the button to save this information in a txt file. I also want to display the content of txt file in my web page. Please help me. Because I embedded web in microcontrollers, and it can't run apache, mysql, php so I must use html, javacript and I do not have much experience in javascript. Thanks
Not really understand how microcontroller rules out web server... If you wan to use html/javascript in a browser environment, you have a lot of problems. In that environment JavaScript can not access local resources like IO... You may use node.js as a solution, but in any case your description of problem is unclear...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
-
Not really understand how microcontroller rules out web server... If you wan to use html/javascript in a browser environment, you have a lot of problems. In that environment JavaScript can not access local resources like IO... You may use node.js as a solution, but in any case your description of problem is unclear...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
Adding, updating and deleting a .txt file is way too much easy. You may upload it easily if you have a file-zilla or a file sharing. This type of class could be created, updated, deleted and list data in CSV files. It can parse a text file with records of data stored in the CSV format.