HTML help. *.txt include
Thread Starter
Admin v2.0
iTrader: (9)
Joined: Nov 2002
Posts: 6,965
From: Alameda, CA, USA
Car Info: 02 Black Legacy GT
HTML help. *.txt include
I have a text file that gets auto-updated all the time. I need to "include" that text file into the index.htm in a way that I could format it using the index.htm page format.
How do I do that?
- Alex
How do I do that?
- Alex
Guest
Posts: n/a
Okay, I have been using ASP for the past few years so I'm kinda spoiled and rusty on other subjects. I'm not sure if this is possible with "straight" HTML. There's two ways I can think of to do it. (Neither of which I have ever really used.)
1.) SSI Server Side Includes. Probably not the best method. Some consider it a security risk and might be a CPU hog. Depends on where you are using it, etc...
Here's an example: http://www.sfrench.org/Tests/index.shtml
2.) Use PHP since we know your server supports it. I have no idea how to do this, but you might be able to find a tutorial online or pickup a PHP book. I know ASP and PHP are pretty similar and doing this in ASP is easy.
1.) SSI Server Side Includes. Probably not the best method. Some consider it a security risk and might be a CPU hog. Depends on where you are using it, etc...
Here's an example: http://www.sfrench.org/Tests/index.shtml
2.) Use PHP since we know your server supports it. I have no idea how to do this, but you might be able to find a tutorial online or pickup a PHP book. I know ASP and PHP are pretty similar and doing this in ASP is easy.
Thread
Thread Starter
Forum
Replies
Last Post
azer408
Meetings, Events & Donuts
7
Jan 1, 2013 11:35 AM
ipozestu
Teh Politics Forum
16
Jul 23, 2007 04:10 PM
aus_wrx
Suby Shopping & Maintenance/Warranty
2
Aug 13, 2003 01:04 AM
WindyCity
Subaru General
3
Mar 23, 2003 05:35 PM



