ZontreckWebsite/php/Login.php

16 lines
No EOL
260 B
PHP

<?php
if(!defined("COMMON"))
require("Common.php");
$js = getJsonizedInput();
// Read login parameters
$username = $js["username"];
$password = $js["password"];
// Password is hashed
// Compare against hash in database + : md5(salt)
$DB = get_DB();
?>