Hi,
Use this code. This will create a html file with the contents in your text box...
Get back if u have any issues...Code:<% Set fso = CreateObject("Scripting.FileSystemObject") szContents = Request.form("MyText") szFile = "C:/Test.htm" If(szContents<>"")then fso.OpenTextFile(szFile, 2, True,false).Write szContents end if %> <form name=MyForm method=post action=try.asp> <input name=MyText type=text value=""> <input type=submit value=Save> </form>
- Jemima.




Reply With Quote