Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. How to add/update/delete content txt file?

How to add/update/delete content txt file?

Scheduled Pinned Locked Moved Web Development
tutorialjavascriptphphtmlapache
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 10390715
    wrote on last edited by
    #1

    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

    L Kornfeld Eliyahu PeterK 2 Replies Last reply
    0
    • M Member 10390715

      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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      See http://www.w3schools.com/js/[^].

      1 Reply Last reply
      0
      • M Member 10390715

        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

        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu Peter
        wrote on last edited by
        #3

        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)

        "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

        A 1 Reply Last reply
        0
        • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

          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)

          A Offline
          A Offline
          Alexhudson
          wrote on last edited by
          #4

          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.

          website design service | affordable website design

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups