Your username or password are not correct. Please try again."; $_SESSION['valid_user'] = 0; } mysql_close($link); if (!$_SESSION['valid_user']) { session_unset(); // Unset session variables. session_destroy(); // End Session we created earlier. } else { header("location: index.php"); } } else if ($_POST["join"]) { if ((strlen($_POST["name"]) < 3) || ($_POST["username"] == 'enter your name') || (strlen($_POST["password"]) < 3) || ($_POST["password"] == 'enter your password') || ($_POST["email"] == 'enter your email address')) { // echo "Problema"; } else { session_register("username"); session_register("password"); // register username and password as session variables. $username = $_POST["name"]; $password = md5($_POST["password"]); $email = $_POST["email"]; $mysql_database="xtdl"; $mysql_username="gepl"; $mysql_password="gepluser239"; $link = mysql_connect("localhost",$mysql_username,$mysql_password) or die ("Unable to connect to MySQL"); mysql_select_db("xtdl") or die ("Unable to select database"); $result = mysql_query("INSERT into users(username,password,email) values('$username','$password','$email')"); $data = date("Y/m/d"); $result = mysql_query("INSERT into history(username,description,dateMove) values('$username','Registration on system.','$data')"); mysql_close($link); $_SESSION['valid_user'] = 1; header("location: index.php"); } } } ?> XLS - XTDL Laboratory Site

XTDL - XML Tool Definition Language & XTS - XTDL Tool Set


Fill all fields with your personal data if you intend to join to our group. After type your data, click on Join.
Otherwise, if you're already registed you only must fill 'Your name' and 'Your Password' fields and click Login.

Join our users group