Forum Moderators: open
writehtml = processor.output
Set filesys = CreateObject("Scripting.FileSystemObject")
set fname = filesys.OpenTextFile("e:/html/domains/adsf.com/wwwroot/home_decor/" & Replace(Request.Form("keywords"), " ", "_") &".html", 2,true)
fname.WriteLine(writehtml)
Any thoughts?
I'm not getting an error whatsoever.
Thanks,
Mac
writehtml = processor.output
Set filesys = CreateObject("Scripting.FileSystemObject")
set fname = filesys.OpenTextFile("e:/html/domains/asdf.com/wwwroot/search/" & Replace(Request.Form("keywords"), " ", "_") &".html",2,true)
fname.WriteLine(writehtml)
Response.write(writehtml)
fname.Close
The funny thing is, once you call processor.output, then everything that is in there is gone from memory. Doing it this way keeps everything where you want it. ;)
Mac