Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <link rel="stylesheet" type="text/css" href="estilo.css"/>
- <title>Tecnologia</title>
- </head>
- <body>
- <div id="login">
- <!-- verifico se tem algum cookie setado-->
- <?php if(isset($_COOKIE['login'])){?>
- Seja bem vindo,<br> <?=$_COOKIE['login'];?> <a href=sair.php>[Sair]</a> ;
- <?php } else{?>
- <form method="post" action="Confirmar_login.php">
- <div class="input-div" id="input-usuario">
- Usuario:
- <input type="text" name="login" maxlength="50"></input>
- Senha:
- <input type="password" name="senha" maxlength="50"></input>
- </div>
- <input type="submit" value="Entrar" class="botao">
- </form>
- <?php }?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment