Is it possible to display the same information on a textfile on a web application so my programme can read directly from a textfile ?

so if any changes happen on my textfile it must also take effect in my programme without me doing anything

Recommended Answers

Yes, this is possible. There are four options to be able achieved this.

  1. Use PHP
  2. Use the HTML5 file reader
  3. Use javascript
  4. ASP.net

Try google with 'reading text file in javascript' and for PHP read

Jump to Post

All 2 Replies

Yes, this is possible. There are four options to be able achieved this.

  1. Use PHP
  2. Use the HTML5 file reader
  3. Use javascript
  4. ASP.net

Try google with 'reading text file in javascript' and for PHP read this. If you are developing in asp.net mvc there is a method called ReadAllText, I don't remember the proper syntax, but it should be on the Microsoft website.

Member Avatar

Do you need to read a client file or a server file?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.