Format contents of text file into html

I have a text file that can contain from 1 to 20 lines of text. I want to figure out a way to include this data into a web page so it won't prompt as "mixed mode" since some of the page contents resides on a secure server. I have been using a IFRAME such as this:

<iframe width="300" height="25" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="\\server\output.html";></iframe>

When I include this on the page I get prompted during its refresh with a message about "This page contains secure and non secure data...". If I leave out the IFRAME data then I don't get the error.

Is there a better way of pulling in this data to avoid this message?

I am currently scripting to convert the text from a text file to a HTML file so it goes from

Line1     Line2      Line3     .....

Thoughts? Ideas?
Who is Participating?
David S.Connect With a Mentor Commented:
On second thought, perhaps these will explain enough of how to do it:
David S.Commented:
The best way to do that would be to use a server-side language, e.g. ASP or PHP.
edrz01Author Commented:
Can you provide an example?
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

David S.Commented:
Which server-side languages are available on your server?
edrz01Author Commented:
Sorry for the delay - stressful Friday....
Most fluent in VB...
David S.Commented:
You'll  probably want ASP or ASP.Net then.  I suggest you pick one and add this question to the zone for it.
edrz01Author Commented:
Thanks! That did the trick....
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.