Esempio n. 1
0
<link href="./style.css" rel="stylesheet" type="text/css">
</head>

<body>
<table class="principale">
<tr>
	<th>
<?php 
if (isset($_POST['login']) && isset($_POST['password'])) {
    $login = $_POST['login'];
    $password = $_POST['password'];
    if ($login == "reset" && ($password = "******")) {
        require_once "bd_utils.php";
        $obj_utils = new bd_utils();
        $obj_utils->connect();
        $obj_utils->resetDB();
        $obj_utils->close();
        echo "La base de donnée a été réinitialisée";
    }
    ?>
	
	
<?php 
}
?>
	</th>
</tr>
	<tr><th><a href="./index.php?page=inscriptions.php">Retour à l'index</a></th></tr>
</table>
</body>
</html>