|
|
|
|
|
| | |
| |
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: Accessing a txt file from web |
|
From: |
Tim |
|
Date: |
6/26/1999 12:34:28 AM |
|
IP: |
208.168.160.110 |
Use the file scripting object:
<%
Dim fs, a
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.OpenTextFile(Server.MapPath("yourtextfile.txt"))
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:01:47 AM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|