Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2219
  • Last Modified:

How to read txt file with html?

Hi,
I am creating CD Catalog using HTML, but instead of creating multiple html pages ( I have the same frame for over 40 pages) I would like to have all data in txt file and would be able to read it from frame page.
We already have a website with php and mySQL. The idea is the same, but should be non-server language.
I was thinking about JavaScript, but there are a lot of complications with hacks/workarounds that might work in some browsers.
Any advice on simple CD Catalog?
0
idiotsavant0207
Asked:
idiotsavant0207
1 Solution
 
T3LogicCommented:
If you just want to read a text file you can include it in some sort of frame.  Iframe or regular html frames will do the trick.

Granted javascript can not read/write to a text file.  

Another option would be to use xml and xml stylesheets.  This way the catalog can be formated somewhat.

http://www.w3.org/Style/XSL/
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now