View Single Post
Old Jul 10th, 2005, 2:34 PM   #2
PhillipH
Newbie
 
Join Date: Jul 2005
Posts: 9
Rep Power: 0 PhillipH is on a distinguished road
this is the kind of code i use for writing to a text file

	filename=Server.mappath("\pathtofile\log") & ".txt"
	Set fs = Server.CreateObject("Scripting.FileSystemObject")
	Set file = fs.opentextfile(filename,8,true)
	file.writeline
	file.write "TEST"
	file.Close
	set file=nothing
	set fs=nothing
__________________
Phillip Harrison
http://www.onestop-webdesign.com
PhillipH is offline   Reply With Quote