%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /mnt/tnb2/los/
Upload File :
Create Path :
Current File : //mnt/tnb2/los/smazuzivatele.php

<?php
session_start();
$uzivatel=$_SESSION["uzivatel"];
include('sql.php');
$mysqli = new mysqli(pc,user,pass,data);
if ($mysqli->connect_errno) {printf("Spojení selhalo: %s\n", $mysqli->connect_error); exit();}
$dotaz="DELETE FROM registrace where uzivatel='".$uzivatel."'";
$mysqli->query($dotaz);
$mysqli->close();

unset($_SESSION["uzivatel"]);
unset($_SESSION["jmeno"]);
unset($_SESSION["prijmeni"]);
echo '<script>window.location.href="index.php"</script>';
?>

Zerion Mini Shell 1.0