Procházet zdrojové kódy

removed static variables

development
mauirixxx před 8 roky
rodič
revize
df0edb595f
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. +0
    -2
      gw-login.php

+ 0
- 2
gw-login.php Zobrazit soubor

@@ -6,9 +6,7 @@ if (isset($_SESSION['userid']) && ($_SESSION['access'])){
include_once 'gw-connect.php';
$con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME);
$username = mysqli_real_escape_string($con, $_POST['username']); //enable this after username form is built
//$username = 'mauirixxx'; //delete this line after the above is finished
$password = mysqli_real_escape_string($con, $_POST['password']); //enable this after password form is built
//$password = 'drx9175l';
$password = md5($password);
if ($con->connect_errno > 0){
die ('Unable to connect to database [' . $db->connect_errno . ']');


Načítá se…
Zrušit
Uložit