Blocking Certain Email Providers. Blocking Certain Email Providers.
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Blocking Certain Email Providers.

Started by taiofmine, April 26, 2011, 06:21:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

taiofmine

I've been getting a lot of junky spam accounts on my gallery, despite the CAPTCHA. Most of them seem to be coming from @mx8168.net. I'd like to completely deny registration from certain email providers.

I did find this from 2005... but the code I'm supposed to find in register.php isn't in my register.php. I'm using 1.5.12.

Thanks.

ΑndrĂ©

Quote from: taiofmine on April 26, 2011, 06:21:23 PM
the code I'm supposed to find in register.php isn't in my register.php
The equivalent code in cpg1.5.x is
    if (!Inspekt::isEmail($email)) {
        $error .= '<li style="list-style-image:url(images/icons/stop.png)">' . $lang_register_php['email_warning2'] . '</li>';
    }

taiofmine

Thank you so much! I really needed this feature for my gallery.  :D