$chk_user_ip = "$user->ip";
// Check if actual user IP is found in bannedips.csv
if (strpos(file_get_contents("/home/yourdir/bannedips.csv"),$chk_user_ip) !== false) {
// Redirect spammer bot to index page or any custom page.
header('Location: index.php');
exit;
}
$chk_user_ip = "$user->ip";
// Check if actual user IP is found in bannedips.csv
if (strpos(file_get_contents("/home/yourdir/bannedips.csv"),$chk_user_ip) !== false) {
// Redirect spammer bot to index page or any custom page.
header('Location: index.php');
exit;
}
/**
* ucp_register
* Board registration
* @package ucp
*/
Since 2007, Forum Promotion has specialized in providing advertising solutions to webmasters looking to promote their communities. We pride ourselves in being the bridge that connects forum administrators, bloggers, and more.
We use essential cookies to make this site work, and optional cookies to enhance your experience.