Like the main station in www.aspid.cn, TSYS is used to generate html files!
Therefore, Yin Qing is interested in generating html recently, and has read many articles and gained something.
1, the following example directly uses FSO to write html code to a file, and then writes it in the. Html format
filename="test.htm "
if request(" body ")< & gt; ""then
Set fso = Server. CreateObject ("script. File system object ")
Set htmlwrite = fso. create textfile(server . mappath(" & amp; File name & ""))
Htmlwrite.write < head & gt & request.form ("title")&"
html write . write“< body & gt; Output title content: "&; Request.form ("title")&"< br/>; Output text content: "&; request . form(" body ")& amp; "
< br & gt
< textarea name="body " >body