jeudi 25 août 2016

Undefined index: email in C:xampphtdocsweb-exploit-examples-masterevil-orgevil01.php on line 2 [duplicate]

This question already has an answer here:

$email = $_GET["email"];
$password = $_GET["password"];

if ($password) {
    $db = mysqli_connect("localhost:3306","root","","");

    $query = "INSERT INTO stolen_accounts (`email`, `password`) 
                VALUES ('{$email}', '{$password}')";

    mysqli_query($db, $query);
}

1 commentaire: