M
Mike
I have a form with the folowing code in it to save a text file to the
server. I currently have
the file named 'test.txt'. is there a way to save the file with its name
being the name of one of the fields? For example I want the name of the file
to be the persons last name.
set FSO = Server.CreateObject("scripting.FilesystemObject")
set myFile = fso.CreateTextFile("C:\test.txt", true)
myFile.WriteLine(request.form("FirstName") & Chr(9) &
request.form("LastName"))
myFile.Close
Thanks in advance,
Mikeal
server. I currently have
the file named 'test.txt'. is there a way to save the file with its name
being the name of one of the fields? For example I want the name of the file
to be the persons last name.
set FSO = Server.CreateObject("scripting.FilesystemObject")
set myFile = fso.CreateTextFile("C:\test.txt", true)
myFile.WriteLine(request.form("FirstName") & Chr(9) &
request.form("LastName"))
myFile.Close
Thanks in advance,
Mikeal