{"id":59,"date":"2013-11-30T02:49:53","date_gmt":"2013-11-29T18:49:53","guid":{"rendered":"http:\/\/www.yptk.cn\/index.php\/2013\/11\/30\/%e5%8d%81%e5%a4%a9%e5%ad%a6%e4%bc%9aasp%e4%b9%8b%e7%ac%ac%e4%b8%83%e5%a4%a9\/"},"modified":"2013-11-30T02:49:53","modified_gmt":"2013-11-29T18:49:53","slug":"%e5%8d%81%e5%a4%a9%e5%ad%a6%e4%bc%9aasp%e4%b9%8b%e7%ac%ac%e4%b8%83%e5%a4%a9","status":"publish","type":"post","link":"http:\/\/yptk.cn\/index.php\/2013\/11\/30\/%e5%8d%81%e5%a4%a9%e5%ad%a6%e4%bc%9aasp%e4%b9%8b%e7%ac%ac%e4%b8%83%e5%a4%a9\/","title":{"rendered":"\u5341\u5929\u5b66\u4f1aASP\u4e4b\u7b2c\u4e03\u5929"},"content":{"rendered":"<p><span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">\u5b66\u4e60\u76ee\u7684\uff1a\u5b66\u4f1a\u6570\u636e\u5e93\u7684\u57fa\u672c\u64cd\u4f5c3\uff08\u5220\u9664\u8bb0\u5f55\uff09<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">\u5f00\u95e8\u89c1\u5c71\uff0c\u5927\u5bb6\u76f4\u63a5\u770b\u7a0b\u5e8f\u3002<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">exec=&#8221;delete * from guestbook where id=&#8221;&amp;request.form(&#8220;id&#8221;)<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">\u4e0a\u9762\u8fd9\u53e5\u8bdd\u5b8c\u6210\u4e86\u5220\u9664\u8bb0\u5f55\u7684\u64cd\u4f5c\uff0c\u4e0d\u8fc7\u9501\u5b9a\u8bb0\u5f55\u7528\u4e86\u8bb0\u5f55\u552f\u4e00\u7684\u8868\u793aid\uff0c\u6211\u4eec\u524d\u9762\u5efa\u7acb\u6570\u636e\u5e93\u7684\u65f6\u5019\u7528\u7684\u662f\u7cfb\u7edf\u7ed9\u6211\u4eec\u7684\u4e3b\u952e\uff0c\u540d\u5b57\u662f\u7f16\u53f7\uff0c\u7531\u4e8e\u662f\u4e2d\u6587\u7684\u540d\u5b57\u4e0d\u662f\u5f88\u65b9\u4fbf\uff0c\u5927\u5bb6\u53ef\u4ee5\u4fee\u6539\u4e3aid\uff0c\u4e0d\u4fee\u6539\u7684\u8bdd\u5c31\u662f<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">exec=&#8221;delete * from guestbook where \u7f16\u53f7=&#8221;&amp;request.form(&#8220;id&#8221;)<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">\u4e0b\u9762\u6211\u4eec\u770b\u5b8c\u6574\u7684\u4ee3\u7801\uff1a\u4e00\u4e2a\u8868\u5355\u4f20\u7ed9ASP\u6587\u4ef6\u4e00\u4e2aID\uff0c\u7136\u540e\u8fd9\u4e2aASP\u6587\u4ef6\u5c31\u5220\u9664\u4e86\u8fd9\u4e2aID\u3002<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">&lt;form name=&#8221;form1&#8243; method=&#8221;post&#8221; action=&#8221;example7.asp&#8221;&gt;<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">delete:&nbsp;<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">&lt;input type=&#8221;text&#8221; name=&#8221;id&#8221;&gt;<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">&lt;input type=&#8221;submit&#8221; name=&#8221;Submit&#8221; value=&#8221;\u63d0\u4ea4&#8221;&gt;<\/span><br style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\" \/><br \/>\n<span style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">&lt;\/form&gt;<\/span><\/p>\n<p style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">\n\texample7.asp\uff1a<br \/>\n&lt;%<br \/>\nset conn=server.createobject(&#8220;adodb.connection&#8221;)<br \/>\nconn.open &#8220;driver={microsoft access driver (*.mdb)};dbq=&#8221;&amp;server.mappath(&#8220;example3.mdb&#8221;)<br \/>\nexec=&#8221;delete * from guestbook where \u7f16\u53f7=&#8221;&amp;request.form(&#8220;id&#8221;)<br \/>\nconn.execute exec<br \/>\n%&gt;<br \/>\n\u6211\u5728\u793a\u4f8b\u91cc\u9762\u52a0\u4e86\u4e00\u4e2aexample72.asp\uff0c\u548cexample4.asp\u5dee\u4e0d\u591a\uff0c\u5c31\u662f\u52a0\u4e86\u4e00\u4e2aid\u5b57\u6bb5\uff0c\u5927\u5bb6\u53ef\u4ee5\u5148\u8fd0\u884c\u8fd9\u4e2a\u6587\u4ef6\u770b\u4e00\u4e0b\u6240\u6709\u8bb0\u5f55\u7684ID\u548c\u60f3\u5220\u9664\u8bb0\u5f55\u7684ID\uff0c\u5220\u9664\u8bb0\u5f55\u4ee5\u540e\u4e5f\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u6587\u4ef6\u590d\u67e5\u3002\u7b49\u5230\u6700\u540e\u4e00\u5929\uff0c\u6211\u4eec\u4f1a\u628a\u6240\u6709\u7684\u8fd9\u4e9b\u4e1c\u897f\u6574\u5408\u7684\u3002\u5927\u5bb6\u5c31\u4e0d\u4f1a\u9700\u8981\u8fd9\u4e48\u9ebb\u70e6\u7684\u64cd\u4f5c\u3002\n<\/p>\n<p style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">\n\texample72.asp\uff1a<br \/>\n&lt;%<br \/>\nset conn=server.createobject(&#8220;adodb.connection&#8221;)<br \/>\nconn.open &#8220;driver={microsoft access driver (*.mdb)};dbq=&#8221;&amp;server.mappath(&#8220;example3.mdb&#8221;)<br \/>\nexec=&#8221;select * from guestbook&#8221;<br \/>\nset rs=server.createobject(&#8220;adodb.recordset&#8221;)<br \/>\nrs.open exec,conn,1,1&nbsp;<br \/>\n%&gt;<br \/>\n&lt;html&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;title&gt;\u65e0\u6807\u9898\u6587\u6863&lt;\/title&gt;<br \/>\n&lt;<i>meta<\/i>&nbsp;http-equiv=&#8221;Content-Type&#8221; content=&#8221;text\/html; charset=gb2312&#8243;&gt;<br \/>\n&lt;\/head&gt;\n<\/p>\n<p style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">\n\t&lt;body bgcolor=&#8221;#FFFFFF&#8221; text=&#8221;#000000&#8243;&gt;\n<\/p>\n<p style=\"font-family:Simsun;font-size:14px;line-height:21.33333396911621px;white-space:normal;background-color:#FBFBFB;\">\n\t&lt;table width=&#8221;100%&#8221; border=&#8221;0&#8243; cellspacing=&#8221;0&#8243; cellpadding=&#8221;0&#8243;&gt;<br \/>\n&lt;%<br \/>\ndo while not rs.eof<br \/>\n%&gt;&lt;tr&gt;<br \/>\n&lt;td&gt;&lt;%=rs(&#8220;\u7f16\u53f7&#8221;)%&gt;&lt;\/td&gt;<br \/>\n&lt;td&gt;&lt;%=rs(&#8220;name&#8221;)%&gt;&lt;\/td&gt;<br \/>\n&lt;td&gt;&lt;%=rs(&#8220;tel&#8221;)%&gt;&lt;\/td&gt;<br \/>\n&lt;td&gt;&lt;%=rs(&#8220;message&#8221;)%&gt;&lt;\/td&gt;<br \/>\n&lt;td&gt;&lt;%=rs(&#8220;time&#8221;)%&gt;&lt;\/td&gt;<br \/>\n&lt;\/tr&gt;<br \/>\n&lt;%<br \/>\nrs.movenext<br \/>\nloop<br \/>\n%&gt;<br \/>\n&lt;\/table&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b66\u4e60\u76ee\u7684\uff1a\u5b66\u4f1a\u6570\u636e\u5e93\u7684\u57fa\u672c\u64cd\u4f5c3\uff08\u5220\u9664\u8bb0\u5f55\uff09 \u5f00\u95e8\u89c1\u5c71\uff0c\u5927\u5bb6\u76f4\u63a5\u770b\u7a0b\u5e8f\u3002 exec=&#8221;delete * from guestbook where id=&#8221;&amp;request.form(&#8220;id&#8221;) \u4e0a\u9762\u8fd9\u53e5\u8bdd\u5b8c\u6210\u4e86\u5220\u9664\u8bb0\u5f55\u7684\u64cd\u4f5c\uff0c\u4e0d\u8fc7\u9501\u5b9a\u8bb0\u5f55\u7528\u4e86\u8bb0\u5f55\u552f\u4e00\u7684\u8868\u793aid\uff0c\u6211\u4eec\u524d\u9762\u5efa\u7acb\u6570\u636e\u5e93\u7684\u65f6\u5019\u7528\u7684\u662f\u7cfb\u7edf\u7ed9\u6211\u4eec\u7684\u4e3b\u952e\uff0c\u540d\u5b57\u662f\u7f16\u53f7\uff0c\u7531\u4e8e\u662f\u4e2d\u6587\u7684\u540d\u5b57\u4e0d\u662f\u5f88 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-15"],"_links":{"self":[{"href":"http:\/\/yptk.cn\/index.php\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/yptk.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yptk.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yptk.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/yptk.cn\/index.php\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":0,"href":"http:\/\/yptk.cn\/index.php\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"wp:attachment":[{"href":"http:\/\/yptk.cn\/index.php\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yptk.cn\/index.php\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yptk.cn\/index.php\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}