T1703221546
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
$name = $_GET['name'];
|
||||
$uid = md5(uniqid(rand(), true));
|
||||
$database = new Database();
|
||||
echo 'schöne';
|
||||
$database->query('INSERT INTO "Users" ("name", "ID") VALUES ($1, $2);', array($name, $uid)); //TODO unique string
|
||||
echo 'neue';
|
||||
if(preg_match(PATTERN, $name) != 1 or !$name) {
|
||||
$error = 11101;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user