To all the readers of this mod. Here is something i have discovered
Spam bots read the URLs and Store the absoulte URLs information for Spamming.
Now everyone knows that the URL of db_input.php will always be something like
pathtocpgfolder/db_input.php
So the spam bots simply call the db_input.php so the spam is posted easily as the location of db_input.php is always the root of cpg folder and its file name does not change.
SO the solution
1-- Apply this Mod from zipped folder carefully
2-- Open the db_input.php
Find this
require('include/init.inc.php');
require('include/picmgmt.inc.php');
require('include/mailer.inc.php');
require('include/smilies.inc.php');
and change it to this
require('include/init.inc.php');
require('include/picmgmt.inc.php');
require('include/mailer.inc.php');
require('include/smilies.inc.php');
if ($_POST['msg_body'] != ''){
header('Location: done.php');
die();
}
And that is it.
What does it do.. for information
1-- msg_body means comment message posted(by spam bot most likely).
2-- this small script checks >>>>> whether msg_body has any data or not. if it has any data(comment) then that comment is not posted and the spam bot is taken to done.php page. if there is no data(comment) then the regular function of db_input.php continues.
3-- and that is all. we will deny the comment posting using db_input.php. Comments can only be posted using db_input2.php file which came with this mod.
Apply and i hope that stops the comments being postedby spam bot using db_input.php file.