ASP generates HTML

Source: Internet
Author: User
<!--index.htm---------------------->
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en"
"Http://www.w3.org/TR/html4/loose.dtd" >
<title>untitled document</title>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<body>
<table width= "770" border= "0" align= "center" cellpadding= "0" cellspacing= "0" >
<tr>
<td><form name= "Form1" method= "Post" action= "send.asp" >
<table width= "100%" border= "0" cellpadding= "0" cellspacing= "0" bgcolor= "#CCFFFF" >
<tr>
&LT;TD height= ><div align= "center" > Send Message </div></td>
</tr>
<tr>
<td><div align= "center" >
<textarea name= "msg" cols= "rows=" 6 "></textarea>
</div></td>
</tr>
<tr>
<td><div align= "center" >
<input type= "Submit" name= "submit" value= "Submit" >
<input type= "reset" name= "Submit2" value= "reset" >
</div></td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
'//send.asp
<%
function Chan_time (Shijian) ' Convert date-time function
S_year=year (Shijian)
If Len (s_year) =2 then s_year= "&s_year"
S_month=month (Shijian)
If S_month<10 then s_month= "0" &s_month
S_day=day (Shijian)
If S_day<10 then s_day= "0" &s_day
S_hour=hour (Shijian)
If S_hour<10 then s_hour= "0" &s_hour
S_minute=minute (Shijian)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.