Update register.php

This commit is contained in:
MasterGordon 2018-09-10 17:30:17 +02:00 committed by GitHub
parent ca8f9bb9ad
commit d9a4ab6bf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ session_start();
error_reporting(E_ERROR | E_WARNING | E_PARSE);
include "mysqldata.php";
$pdo = new PDO('mysql:host=' . $GLOBALS["sqlservername"] . ';dbname=' . $GLOBALS["sqldatabase"], $GLOBALS["sqlusername"], $GLOBALS["sqlpassword"]);
$pdo = new PDO('mysql:host=' . $GLOBALS["servername"] . ';dbname=' . $GLOBALS["database"], $GLOBALS["username"], $GLOBALS["password"]);
$error = false;
$username = $_GET['username'];
$passwort = $_GET['password1'];