[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Format contents of text file into html

Posted on 2008-11-07
7
Medium Priority
?
184 Views
Last Modified: 2012-05-05
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?
0
Comment
Question by:edrz01
  • 4
  • 3
7 Comments
 
LVL 43

Expert Comment

by:David S.
ID: 22910872
The best way to do that would be to use a server-side language, e.g. ASP or PHP.
0
 

Author Comment

by:edrz01
ID: 22939423
Can you provide an example?
0
 
LVL 43

Expert Comment

by:David S.
ID: 22942937
Which server-side languages are available on your server?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:edrz01
ID: 22974872
Sorry for the delay - stressful Friday....
Most fluent in VB...
0
 
LVL 43

Expert Comment

by:David S.
ID: 22980026
You'll  probably want ASP or ASP.Net then.  I suggest you pick one and add this question to the zone for it.
0
 
LVL 43

Accepted Solution

by:
David S. earned 2000 total points
ID: 22980048
On second thought, perhaps these will explain enough of how to do it:

http://www.codetoad.com/asp_include_files.asp
http://webdesign.about.com/od/asp/ht/htaspincludehtm.htm
0
 

Author Closing Comment

by:edrz01
ID: 31517834
Thanks! That did the trick....
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question