Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading from file using javascript

Status
Not open for further replies.

Diodin

Programmer
May 8, 2001
29
NL
I have a textfile with all kinds of information in it. Now I want to create a script which reads from file (on server) and then generates a webpages. To generate a webpages can be done using document.write(), but how do I read from a file using javascript? Is this possible or do I have to create an applet?
 
Are you trying to use server side JavaScript or ClientSide?
 
I think server side. Because the textfile I want to read is on the server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top