Duplicate name check removed
Duplicate name check removed
This commit is contained in:
parent
66ff2f76f1
commit
828408382b
@ -101,10 +101,7 @@ function validate() {
|
|||||||
$fppwd2 = $_POST ['fppwd2'];
|
$fppwd2 = $_POST ['fppwd2'];
|
||||||
$email = strip_tags($_POST ['email']);
|
$email = strip_tags($_POST ['email']);
|
||||||
$www = strip_tags($_POST ['www']);
|
$www = strip_tags($_POST ['www']);
|
||||||
if (!ctype_alnum($fpuser)) {
|
if (!(preg_match('/^[\w]+$/u', $fpuser))) {
|
||||||
$err [] = $fpuser . $lang ['err'] ['fpuser1'];
|
|
||||||
}
|
|
||||||
if (!(preg_match('/^[a-zA-Z0-9]+_?[a-zA-Z0-9]+$/D', $fpuser)) {
|
|
||||||
$err [] = $fpuser . $lang ['err'] ['fpuser2'];
|
$err [] = $fpuser . $lang ['err'] ['fpuser2'];
|
||||||
}
|
}
|
||||||
if (strlen(trim(($fppwd))) < 6) {
|
if (strlen(trim(($fppwd))) < 6) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user