Write / Read to Text File using HTML or Javas

June 15, 2010 at 21:58:23
Specs: Windows XP
Is there any way that I can write to or read from a text file using HTML or Javascript.

I would like to read from a text file and display the info on the html web page.

Please explain fall answers in details.

See More: Write / Read to Text File using HTML or Javas

Report •

June 17, 2010 at 07:12:04
If you mean process a disk for files, then html is static and wouldn't know about file i/o I don't think. In general, javascript isn't allowed for security reasons... any site could access your files and whatnot. IE does have the fso (file system object) and vbscripting, which may allow local access - I'm not sure how it works though.

if you mean process a file already on your site, then you can possibly use a frame to load the contents of a text file... check the iframe thread to see if it might help.

Report •
Related Solutions

Ask Question