Changeset 4036 for branches/2.0/upload.php
- Timestamp:
- Oct 14, 2009, 6:13:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/upload.php
r3046 r4036 189 189 array_push( $error, l10n('upload_filenotfound') ); 190 190 } 191 if ( ! ereg( "([_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+)",191 if ( !preg_match( '/([_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+)/', 192 192 $_POST['mail_address'] ) ) 193 193 {
Note: See TracChangeset
for help on using the changeset viewer.