|
|
|
|
|
| | |
| |
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: reading from a textfile |
|
From: |
Don Green |
|
Date: |
2/9/2000 9:44:33 PM |
|
IP: |
202.7.15.135 |
Found this code on a PowerASP article about running ASP from Global.asa, but it should do what you want.
Set ObjMyFile = CreateObject("Scripting.FileSystemObject")
Set OpenMyFile = ObjMyFile.OpenTextFile(Server.MapPath("last-update.txt"))
MyFileValue = OpenMyFile.ReadLine
OpenMyFile.Close
You then set the value of the input object on your form to the MyFileValue value. |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|