|
|
|
|
|
| | |
|
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components 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
|
|
|
|
|
|
|
|
|
|
|
|