Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pull text file into web page

Status
Not open for further replies.

vb6novice

Programmer
Sep 23, 2002
288
US
Is it possible to pull data from a text file into a web page without using ASP? I just want to go line by line from a text file into an HTML table, with the first five lines from the text file in the first <tr> and in its first five <td>'s, and the next five lines from the text file in the next <tr> in its first five <td>'s, etc.
 
You can use another server side scripting language such as PHP, Coldfusion or PERL for example.
But I am guessing that this isn't quite what you meant.

You can do it with Server Side Includes (SSI), but your webhost may or may not support this.

However you don't just want to pull the text in, you wish to manipulate it (put first 5 lines in the first <tr> etc).
For this you will need a server side scripting language.

 
Foamcow,

You are correct that my question was geared to find out if it was possible to pull in data from ANY file without having to use ANY server side thing. I am new to ASP (as in I haven't yet created an ASP that works) so I don't know how to do it. It's not writing the page that's the problem but how to test it.

My whole project is to create a web site for a non-profit group that has no money for development. Since I'm part of that group, they are willing to wait while I figure out how to do it. I don't have a host for the web site yet (doesn't seem to make sense to spend money on a host until I am ready to roll out a site that can actually be visited).

The site has many HTML pages that seem to work well (testing them using the HTML editor and IE), but an ASP page is needed.

I'm working on a machine with Windows 2000 and I am told by my system administrator that IIS is installed on the machine, but I don't know where to go from there. How do I run IIS. How do I tell my ASP to use IIS to go and connect to a file or a database. The tutorials available on the web have lots of nice info on how to create the page, but nobody gives a step-by-step of how to test an ASP by connecting through IIS.

If you could tell me or recommend a source that will tell me how to get my ASP page to use the machine's IIS to connect to a dB, that would probably solve my problem.

Thanks for your time.
 
I don't feel qualified to give a step by step on how to set up IIS.

Try googling again.





Also, I believe there is an IIS forum here at Tek-tips, if not then you may be better off asking in the ASP forum.

Hope that is some help in pointing you in the right direction.

Have you considered using PHP and Apache? ;-)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top