Changeset 2611
- Timestamp:
- 12/06/07 13:17:32 (5 years ago)
- Files:
-
- 1 modified
-
lang/php/mumu/trunk/mumu.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/php/mumu/trunk/mumu.php
r2610 r2611 110 110 header("Location: http://$host%uri/$rel_path"); 111 111 } 112 public static function check_email($email, $dns = false, $strict = false/* , $quote = false */) { 112 // simple logic for validation of email address 113 public static function validate_email($email, $dns = false, $strict = false/* , $quote = false */) { 113 114 // TODO: quoted localpart 114 115 if (($at = strrpos($email, '@')) === false) { … … 122 123 !preg_match('/^[A-Za-z0-9\\-\\.]+$/', $domain) || 123 124 preg_match('/\\.\\./', $domain) || 124 !preg_match('/^(\\\\ .|[A-Za-z0-9!#%&`_=\\/$\'*+?^{}|~.-])+$/',125 !preg_match('/^(\\\\[\\x00-\\x7e]|[A-Za-z0-9!#%&`_=\\/$\'*+?^{}|~.-])+$/', 125 126 $local) || 126 127 // strict check(dot)
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)