If you write your file with a .txt extension—rather than a .dat extension—then the browser will render it as text. No need to fool around with another program interpreting and reformatting it.
Just link to it in the normal way:
throopHere's my <a href="frob.txt"> data</a>!
In reply to Re: Viewing .dat files
by throop
in thread Viewing .dat files
by Kathy181249
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |