tinyblob
01-27-2006, 08:50 AM
just knocked up a very quick php script which deletes our lovely new friends defacement comments.
it's simply:
require("includes/pixelpost.php");
require("includes/functions.php");
start_mysql();
$query = sql_query("DELETE FROM ".$pixelpost_db_prefix."comments WHERE message LIKE '%defaced%'");
which deletes comments including the word defaced.
find it attached, download it, unzip it, upload it, and navigate to the file with your web browser. you'll just get a blank page, but it should have done the job.
i've knocked this out reallllly quick because i'm at work, and have better things to do. so if it screws up your comments, unlucky. it worked for me ;)
it's simply:
require("includes/pixelpost.php");
require("includes/functions.php");
start_mysql();
$query = sql_query("DELETE FROM ".$pixelpost_db_prefix."comments WHERE message LIKE '%defaced%'");
which deletes comments including the word defaced.
find it attached, download it, unzip it, upload it, and navigate to the file with your web browser. you'll just get a blank page, but it should have done the job.
i've knocked this out reallllly quick because i'm at work, and have better things to do. so if it screws up your comments, unlucky. it worked for me ;)