|
|
|
|
|
| | |
| |
Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: Accessing a txt file from web |
|
From: |
Tony |
|
Date: |
7/19/1999 4:01:47 AM |
|
IP: |
202.4.7.18 |
Use the file scripting object:
<%
Dim fs, a
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.OpenTextFile(Server.MapPath("yourtextfile.txt"))
you may also code
InputStr = a.readall
While a.AtEndOfStream = False
InputStr = a.ReadLine
Response.Write(InputStr & "<br>")
Wend
a.Close
%>
|
Previous Message
Follow Up - Re: Accessing a txt file from web - Tony 7/19/1999 4:05:04 AM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|