[Resolved] Server Side Includes
Posted: Fri Aug 24, 2007 10:13 pm
I am trying to include a text file that has the extension ".mel" to embed the contents of the file as text only (Non-compiled, no HTML). Previously I used:
It was done this wat to allow the .mel to be downloadedable. If I change the ".mel" it will automatically update the textarea to prevent the code in the textarea and the file from being different.
Everytime I try this inside the textarea in the blog the code is rewritten as:
So, it does not work and if I put the include information outside the textarea it is written correctly with the same results. Is there away to fix this and would prevent people's comments from including files. One last thing, the file that is to be included is in the blog's file directory as created in the media section. I am also the only admin, no other users.
Thanks
Code: Select all
<textarea COLS=70 ROWS=7 wrap="off" readonly>
<!--include file=[full path to text file]-->
</textarea>
Everytime I try this inside the textarea in the blog the code is rewritten as:
Code: Select all
<textarea rows="7" readonly="true" wrap="off" cols="70">
<!--include file=[full path to text file]-->
</textarea>
Thanks