User registration and error management working

This commit is contained in:
Leander
2017-03-22 16:52:32 +01:00
parent bba21c3fea
commit dab0782d2e

View File

@@ -8,7 +8,7 @@
require_once('includes.inc.php');
define('PATTERN', '/^[a-zA-Z0-9 ]{6,20}$/');
$data = null;
$data = '';
$error = 0;
$name = $_GET['name'];
$uid = md5(uniqid(rand(), true));