The Most Active and Friendliest
Affiliate Marketing Community Online!

“Adavice”/  “CPA

Linking to an external .txt file

C

clau

Guest
How do I add an external .txt'document into a page?

Like if I'm having a document called 'article1.htm' and want the text from 'articles/ar1.txt' to be shown in a specific table on the page.

Thanks,
Claudiu
 
hmmm, I dont think there is a way in raw HTML but I guess there is nothing stopping you using javascript:

Code:
<BODY>
<script language="javascript" type="text/javascript" 
  src="filename.txt"></script>

If you have SSI enabled then you can use them:

Code:
<!--#include virtual="other_page.txt" -->
 
MI
Back