文件名称:request2
- 所属分类:
- WEB源码
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 28kb
- 下载次数:
- 0次
- 提 供 者:
- m***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
request类
取代ASP中的Request对象。新Request2对象与原Request对象相比,增加了防SQL注入功能,集成了无组件上传功能。
使用方便,新旧对象使用方法极为类似。比如原来的写法是Request.Form("aa"),现在的写法是Request2.Form("aa");原来的写法是Request.QueryString("bb"),现在的写法是Request2.QueryString("bb");原来的写法是Request("cc"),现在的写法是Request2("cc")。
增加了防SQL注入功能。直接写Set rs = Conn.Execute("select * from tb where dd= "&Request2.Form("dd")&" ")即可。
集成了无组件上传功能。如果表单中含有<input type=file name=ff>,则可以直接通过Request2.Form("ff")得到上传的文件对象,并通过Request2.SaveAs方法将客户端上传的文件保存在服务器上,也可以使用Request2.AutoSave方法自动更名保存。
Ver 2.0 版本增加了Form2集合,用于处理表单元素多值的情况,例如checkbox的多选取值。-request to replace the ASP Object Request. New Request2 Object Request with the original target, an increase of anti-function SQL injection, Non-component integrated upload function. Easy to use, use of old and new object is very similar. For example, the original wording of the Request.Form ( "aa") the current wording of the Request2.Form ( "aa"); the original wording of the Request.QueryString ( "bb") the current wording of the Request2.QueryString ( "bb"); the original wording of the Request ( "cc") the current wording of the Request2 ( "cc"). Increased anti-function SQL injection. Direct write Set rs = Conn.Execute ( "select* from tb wher e dd = "
取代ASP中的Request对象。新Request2对象与原Request对象相比,增加了防SQL注入功能,集成了无组件上传功能。
使用方便,新旧对象使用方法极为类似。比如原来的写法是Request.Form("aa"),现在的写法是Request2.Form("aa");原来的写法是Request.QueryString("bb"),现在的写法是Request2.QueryString("bb");原来的写法是Request("cc"),现在的写法是Request2("cc")。
增加了防SQL注入功能。直接写Set rs = Conn.Execute("select * from tb where dd= "&Request2.Form("dd")&" ")即可。
集成了无组件上传功能。如果表单中含有<input type=file name=ff>,则可以直接通过Request2.Form("ff")得到上传的文件对象,并通过Request2.SaveAs方法将客户端上传的文件保存在服务器上,也可以使用Request2.AutoSave方法自动更名保存。
Ver 2.0 版本增加了Form2集合,用于处理表单元素多值的情况,例如checkbox的多选取值。-request to replace the ASP Object Request. New Request2 Object Request with the original target, an increase of anti-function SQL injection, Non-component integrated upload function. Easy to use, use of old and new object is very similar. For example, the original wording of the Request.Form ( "aa") the current wording of the Request2.Form ( "aa"); the original wording of the Request.QueryString ( "bb") the current wording of the Request2.QueryString ( "bb"); the original wording of the Request ( "cc") the current wording of the Request2 ( "cc"). Increased anti-function SQL injection. Direct write Set rs = Conn.Execute ( "select* from tb wher e dd = "
(系统自动生成,下载前可以参看下载内容)
下载文件列表
request2
........\1.gif
........\2.gif
........\index.htm
........\readme.htm
........\request2_class.asp
........\samples
........\.......\db.mdb
........\.......\Form1Addnew.asp
........\.......\Form2SafeMultiValue.asp
........\.......\FormSafe.asp
........\.......\MultiForm1Addnew.asp
........\.......\MultiForm2SafeMultiValue.asp
........\.......\MultiFormFileToFile.asp
........\.......\MultiFormFileToFileAuto.asp
........\.......\MultiFormSafe.asp
........\.......\request2_class.asp
........\1.gif
........\2.gif
........\index.htm
........\readme.htm
........\request2_class.asp
........\samples
........\.......\db.mdb
........\.......\Form1Addnew.asp
........\.......\Form2SafeMultiValue.asp
........\.......\FormSafe.asp
........\.......\MultiForm1Addnew.asp
........\.......\MultiForm2SafeMultiValue.asp
........\.......\MultiFormFileToFile.asp
........\.......\MultiFormFileToFileAuto.asp
........\.......\MultiFormSafe.asp
........\.......\request2_class.asp