if (!$row->check()) { elxError($row->getError(), 1); return;}
$exclude_domains = array('jnxjn.com', 'qq.com');$parts = explode('@', $row->email);if ($parts && is_array($parts) && (count($parts) == 2)) { $emaildomain = strtolower($parts[1]); foreach ($exclude_domains as $exdomain) { if ($emaildomain == $exdomain) { elxError('Email addresses from '.$emaildomain.' are not acceptable!', 1); return; } } }