BBCodeEmailAddressValidator::check_local_portion( $strLocalPortion )
Description
Source
File: bp-forums/admin/parser.php
1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 | function check_local_portion( $strLocalPortion ) { if (! $this ->check_text_length( $strLocalPortion , 1, 64)) { return false; } $arrLocalPortion = explode ( '.' , $strLocalPortion ); for ( $i = 0, $max = sizeof( $arrLocalPortion ); $i < $max ; $i ++) { if (!preg_match( '.^(' . '([A-Za-z0-9!#$%&\'*+/=?^_`{|}~-]' . '[A-Za-z0-9!#$%&\'*+/=?^_`{|}~-]{0,63})' . '|' . '("[^\\\"]{0,62}")' . ')$.' , $arrLocalPortion [ $i ])) { return false; } } return true; } |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.