Link to home
Start Free TrialLog in
Avatar of edrz01
edrz01Flag for United States of America

asked on

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....

To
Line1     Line2      Line3     .....

Thoughts? Ideas?
Avatar of David S.
David S.
Flag of United States of America image

The best way to do that would be to use a server-side language, e.g. ASP or PHP.
Avatar of edrz01

ASKER

Can you provide an example?
Which server-side languages are available on your server?
Avatar of edrz01

ASKER

Sorry for the delay - stressful Friday....
Most fluent in VB...
You'll  probably want ASP or ASP.Net then.  I suggest you pick one and add this question to the zone for it.
ASKER CERTIFIED SOLUTION
Avatar of David S.
David S.
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of edrz01

ASKER

Thanks! That did the trick....