Changeset 6161 for branches/0.9/bb-includes/registration-functions.php
- Timestamp:
- 12/12/2016 02:02:23 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/bb-includes/registration-functions.php
r2358 r6161 2 2 3 3 function bb_verify_email( $email, $check_domain = false ) { 4 if ( ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.'@'.5 '[-! #$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.6 '[-! #$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$', $email)) {4 if (preg_match('#^[-!\#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.'@'. 5 '[-!\#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'. 6 '[-!\#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$#', $email)) { 7 7 if ( $check_domain && function_exists('checkdnsrr') ) { 8 8 list (, $domain) = explode('@', $email);
Note: See TracChangeset
for help on using the changeset viewer.