OwlCyberSecurity - MANAGER
Edit File: index.php
<?php include("includes/config.php"); /* echo '<pre>'; var_dump($_SERVER); */ ?> <!doctype html> <html> <head> <title>Adm</title> <?php include("includes/head.php") ?> </head> <body> <div class="container"> <div class="row"> <div class="col-sm-4"></div> <div class="col-sm-4"> <br><br><br><br> <h1 class="text-center">ADMINISTRADOR</h1> <form class="well well-sm" method="post" action="logar.php"> <div class="form-group"> <label>Login</label> <input type="name" name="login" class="form-control"> </div> <div class="form-group"> <label>Senha</label> <input type="password" name="senha" class="form-control"> </div> <button type="submit" class="btn btn-default">Entrar</button> <?php if (isset($_SESSION['msg'])) { ?> <div class="alert alert-danger"> <?=$_SESSION['msg']?> </div> <?php unset($_SESSION['msg']); } ?> </form> </div> </div> </div> </body> </html>