formular care afisaza date pe URL $_POST -> este o functie de recptie a datelor din login care afisaza prin link fara afișare pe URL isset() -> este o functie care verifica daca este setat o comanda empty() ->verifica daca este goala variabila $ daca ? da = 0 : 1 $_SESSION["string"] -> variabila SuperGlobala header("location: welcome.php") ->Redirectioneaza web session_start() -> Creaza sesiunea session_destroy() -> Sterge sesiunea require_once "config.php"; trim($_POST["username"]) mysqli_prepare($link, $sql) mysqli_stmt_bind_param($stmt, "s", $param_username) mysqli_stmt_execute($stmt) mysqli_stmt_store_result($stmt) mysqli_stmt_bind_result($stmt, $id, $username, $hashed_password); mysqli_stmt_fetch($stmt) password_verify($password, $hashed_password) mysqli_stmt_close($stmt) mysqli_close($link) htmlspecialchars echo "<script type='text/javascript'> document.location = 'page1.php'; </script>";