Results 1 to 2 of 2
Thread: Importing From txt File
Jan 10, 2000, 07:51 #1
- Join Date
- Jan 2000
- 0 Post(s)
- 0 Thread(s)
Just wondering if anyone could help me with a problem I am having. I need to have a lot o webpages that pull a line of text from a txt file so that when the file is changed, all the HTML files will have the new info when they start.
Any ideas? Please let me know.
Jan 10, 2000, 17:21 #2RAGESitePoint Community Guest
SSI will help you do that
name all your files like something.shtml instead of something.html
THEN, in this file, you can put
now , WHEN you load something.shtml , it should include somefile.html contents where youhave put that line... this is if your admin has enabled shtml on the server by default, which is usually the case, or you'll have to use .htaccess to enable it
Your #1 source of Webmaster Resources