在asp中使用fso组件生成html页面

在asp中使用fso组件生成html页面

ID:23944862

大小:61.00 KB

页数:4页

时间:2018-11-11

在asp中使用fso组件生成html页面_第1页
在asp中使用fso组件生成html页面_第2页
在asp中使用fso组件生成html页面_第3页
在asp中使用fso组件生成html页面_第4页
资源描述:

《在asp中使用fso组件生成html页面》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、在ASP中使用FSO组件生成HTML页面>>教育资源库共有两个页面index.htm是首页.程序比较简单,主要是用了ASP里的文件操作对象。<!--index.htm-------------------------------------------------------------------------------><!DOCTYPEHTMLPUBLIC"-//L4.01Transitional//EN"".l4/loose.dtd"><html><head><title>UntitledDocument</titl

2、e><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"></head><body><tablename="form1"method="post"action="send.asp"><tablee="msg"cols="100"roit"name="Submit"value="Submit"><inputtype="reset"name="Submit2"value="Reset"></div></td></

3、tr></table></form></td></tr></table></body></html>’//send.asp<%functionchan_time(shijian)’转换日期时间函数s_year=year(shijian)iflen(s_year)=2thens_year="20"s_years_month=month(shijian)ifs_month<10thens_month="0"s_months_day=day(shijian)ifs_day<10thens_

4、day="0"s_days_hour=hour(shijian)ifs_hour<10th123下一页>>>>这篇文章来自..,。ens_hour="0"s_hours_minute=minute(shijian)ifs_minute<10thens_minute="0"s_minutechan_time=s_years_months_days_hours_minuteendfunctionfunctionchan_data(shijian)’转换日期时间函数s_year=year(shijian)iflen(s_year)=2thens_year="20"s_years_mo

5、nth=month(shijian)ifs_month<10thens_month="0"s_months_day=day(shijian)ifs_day<10thens_day="0"s_daychan_data=s_years_months_dayendfunctionfunctionchan_file(shijian)’转换日期时间函数s_month=month(shijian)ifs_month<10thens_month="0"s_months_day=day(shijian)ifs_day<10thens_day="0"s_days_hour=hour(

6、shijian)ifs_hour<10thens_hour="0"s_hours_minute=minute(shijian)ifs_minute<10thens_minute="0"s_minutes_ss=second(shijian)ifs_ss<10thens_ss="0"s_sschan_file=s_months_days_hours_minutes_ssendfunctiontop="<html><head><title>ne="</body></html>"msg=request.Form("ms

7、g")msg=replace(msg,vbcrlf,"")msg=replace(msg,chr(9),"")msg=replace(msg,"","nbsp;")msg=replace(msg,"r","<br>")msg=replace(msg,"","<br>")msg=topmsgbotomSetfs=Server.CreateObject("Scripting.FileSyst

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。