Mass Delete SPAM Submissions on PhpLD Directories

Discussion in 'Directories' started by Swiper Da Viper, Jun 3, 2009.

  1. #1
    Just wanted to share this info

    Quite alot of PhpLD Web directories are spammed with 100's of unwanted links, and deleting these links manually, is near enough impossible.

    One way of mass deleting all spam links from the phpMyAdmin is :-
    1. The following command deletes all the pending links when run from the phpMyAdmin
    DELETE FROM `PLD_LINK` WHERE `STATUS`=1

    2. The following command is used to delete listings when spammed from specific TLD’s like .ru , .ua, .by etc
    DELETE FROM `PLD_LINK` WHERE `URL` LIKE ‘%sblog.cz%’
    The % operator in the above command is used to detect any character and will delete any record in the links table where the url contains the characters sblog.cz - regardless as to what characters come before or after it.

    Caution:
    Before you try to run these commands from the phpMyAdmin take a full database backup so you can always switch back in case any thing goes wrong.
     
    Swiper Da Viper, Jun 3, 2009 IP
  2. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #2
    deluxdon, Jun 3, 2009 IP
  3. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #3
    Thankyou for the code though its a repeated posts. Next time use the search function. :)
     
    humm, Jun 3, 2009 IP
  4. Cybernac

    Cybernac Peon

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I'm glad to read it since i just TODAY noticed a thousand SPAM comments on my sites. It will take a week to hand delete them all!!
     
    Cybernac, Jun 3, 2009 IP
  5. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #5
    What's SPAM? Sorry I don't get that.
     
    an0n, Jun 3, 2009 IP
    Brian1970 likes this.
  6. humm

    humm बहादुर बच्चा

    Messages:
    4,346
    Likes Received:
    850
    Best Answers:
    0
    Trophy Points:
    310
    #6
    You never need to know what it is coz you are the one who beats them to death when it comes to phpld! :D
     
    humm, Jun 3, 2009 IP