Jump to content

Storing & Reading from a text file on ASP...


heero11yuy

Recommended Posts

Dim score_test, fs, f Set fs=Server.CreateObject("Scripting.FileSystemObject") Set f=fs.OpenTextFile(Server.MapPath("top_score_3"), 1) Response.Write(f.ReadLine) f.Close Set f=Nothing Set fs=Nothing >> score_test = I needa store the content of f.ReadLine into score_test, but it's not an Object... may anyone suggest some ways which I can do it?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...