Can text in a .txt file be displayed on a webpage?

J

John Anderson

Hi.

I'm wanting to make it so that the text on my web page is stored on a text
file on the Server so that when people access the website the browser reads
the text from the file and places it in the correct place on the Website. I
want to do this so that if I want to edit the text, all I have to do is edit
the information in the file and it automatically updates on the website.
This means I don't have to search through all the HTML to find the bit of
text I wish to edit. It also means that I'm less likely to edit the HTML by
mistake and screw the page up.

It's a bit like how you put a picture on to a website, except with text.

Can it be done, and if so, how?

Many thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top