|
|
|
|
|
| | |
|
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:05:04 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"))
inputstr = a.readall
Response.Write(InputStr & "<br>")
a.Close
%>
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|