1
in the register.php file there is
if (strrpos($email,' ') > 0) {
$stop .= _US_EMAILNOSPACES.'<br />';
which prevents a user to supply an email with spaces...
you could simply duplicate this with:
(note the change of function to stristr)
if (stristr($email,'gmail.com') > 0) {
$stop .= _US_EMAILNOSPACES.'<br />';
and gmail.com would be disallowed. Pack an array from a .txt file on your server of the banned email hosts and do a While Loop and you would have what you need. I cannot whip up PHP off the top of my head but maybe someone else (or you can).
GL.
Byron
if (strrpos($email,' ') > 0) {
$stop .= _US_EMAILNOSPACES.'<br />';
which prevents a user to supply an email with spaces...
you could simply duplicate this with:
(note the change of function to stristr)
if (stristr($email,'gmail.com') > 0) {
$stop .= _US_EMAILNOSPACES.'<br />';
and gmail.com would be disallowed. Pack an array from a .txt file on your server of the banned email hosts and do a While Loop and you would have what you need. I cannot whip up PHP off the top of my head but maybe someone else (or you can).
GL.
Byron