473,394 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Load text file into html file

Does anyone know a simple way to load a text file into an html file? I know
how to do it with server side includes. But you have to name the file with a
'shtml' extension and this creates a problem for me (too many links to
change). Thanks for any help.
Apr 1 '07 #1
2 12663
I used 'xbithack full' and SSIs and it seems to work . Not javascript but
all I could find. If anyone has another idea or a website to look at I would
appreciate it.
"Poten Tate" <as*@qwerzxc.orgwrote in message
news:z8******************@newsread1.news.pas.earth link.net...
Does anyone know a simple way to load a text file into an html file? I
know how to do it with server side includes. But you have to name the file
with a 'shtml' extension and this creates a problem for me (too many links
to change). Thanks for any help.

Apr 1 '07 #2
"Poten Tate" <as*@qwerzxc.orgwrote in
news:_D*****************@newsread4.news.pas.earthl ink.net:
I used 'xbithack full' and SSIs and it seems to work . Not javascript
but all I could find. If anyone has another idea or a website to look
at I would appreciate it.
For a simulated "include" from Javascript :

http://www.rgagnon.com/jsdetails/js-0115.html

Bye.
--
Real Gagnon from Quebec, Canada
* Java, Javascript, VBScript or PowerBuilder snippets
* http://www.rgagnon.com/howto.html
* http://www.rgagnon.com/bigindex.html
Apr 1 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: MJL | last post by:
Suppose you have a perl program that is called by a web page to generate another web page. The program is written to load data from a text file on the server and make certain substitutions in the...
1
by: Ray in HK | last post by:
What are the differences between LOAD DATA INFILE and LOAD DATA LOCAL INFILE ? I found some web hosting company do not allow using LOAD DATA INFILE but allow LOAD DATA LOCAL INFILE. The reason...
4
by: Jake Lewis | last post by:
I have an HTML page that loads fine including the .js file <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script...
1
by: teddy311 | last post by:
Hello group, Why, when I execute the c# code on the xhtml validate file, the program insert a couple of hooks at the end of this line ? ....DTD/xhtml1-transitional.dtd"> _The c# code :_ ...
4
by: Don Wash | last post by:
Hi All! I'm getting the following Error: No DLLs has been compiled yet and nothing in the \bin directory. So it is not the versioning problem or anything like that. And here are the...
6
by: acord | last post by:
Hi, In a html page, I don't know how to load in a php page from javascript. I've already defined a <div id="treemenu"> in the html page. The executed content from the php script is supposed...
2
by: Jeff User | last post by:
Hi all How can I load an existing html file into a table cell for display? Setting the TableCell.Text to an existing web file path only displays the path of the file, but not the file itself....
3
by: robudo | last post by:
Hello, I need some help to solve the following problem. I wrote some html/javascript code to read data from an XML file: XML file: <places> <place year="2000" name="Amsterdam" /> <place...
1
by: ray | last post by:
I have a html file stored as the D:/proj/test.html. In the html file I wish to load a javascript file---test.js which is stored in the same directory as test.html. <!DOCTYPE HTML PUBLIC...
3
by: Sunny | last post by:
Hi, Can someone tell me, How to load the Body Html from a text file that contains javascript. to Manage my files I am creating an Index Page. <html> <head> <meta http-equiv="content-type"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.