Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to read txt file with html?

Posted on 2006-06-27
1
Medium Priority
?
2,212 Views
Last Modified: 2012-06-21
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
Comment
Question by:idiotsavant0207
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
T3Logic earned 1000 total points
ID: 16995003
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn how to dynamically set the form action using jQuery.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question