Solved

How to read txt file with html?

Posted on 2006-06-27
1
2,197 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
1 Comment
 
LVL 2

Accepted Solution

by:
T3Logic earned 250 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
XSL Grouping 7 36
Menu Trouble 8 31
SEO friendly way to have two domains on website 9 80
Create associate webpages / websites 3 52
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now