Pjblog in the empty reference program _ Application Tips

Source: Internet
Author: User
Sake
Very useful program Oh turn, although now played a anti-spam reference to the patch
Turn from here http://bbs.pjhome.net/viewthread.php?tid=12833&extra=page%3D1%26amp%3Bfilter%3D0%26amp%3Borderby% 3Ddateline

If I get angry today,
I wrote one, I'll clear it.

Save to an ASP file, put it in the root of your blog, run on OK, the number appearing on the page is deleted reference
I have deleted 5000 today.
Copy Code code as follows:

<!--#include  file= "const.asp"  -->
<!--#include  file= "common/function.asp"  -->
<%
dim connstr,conn123,rsabc
connstr= "provider=" Microsoft.jet.oledb.4.0;data source= "&server.mappath (accessfile)
   SET  Conn123=server.createobject ("ADODB.") Connection ")
   conn123.open connstr
   set rsabc= Server.CreateObject ("Adodb.recordset")
   rsabc.open  "Select * from blog _trackback ", conn123,1,3
   response.write rsabc.recordcount
    Rsabc.close
   rsabc.open  "Delete * from blog_trackback", conn123,1,3
   set rsabc=nothing
   conn123.close
   set  Conn123=nothing
%>

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.