dn122

index.php

Jun 12th, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.74 KB | None | 0 0
  1. <? 
  2.     include "init.php";
  3. ?>
  4.  
  5. <!DOCTYPE html>
  6. <html>    
  7.     <head>      
  8.         <title>Iniciar Sessão</title>    
  9.     </head>    
  10.     <body>      
  11.         <br><br><br><br>
  12.         <center><h2>Iniciar Sessão na Base Dados: php</h2></center><br><br>
  13.         <center>
  14.             <form name="login" method="post" action="login.php">            
  15.                 Email: <input name="email" type="email" maxlength="40"/>&nbsp;&nbsp;Password: <input name="password" type="password" maxlength="20"/><br><br><br>        
  16.                 <input type="submit" value="Entrar" />        
  17.             </form>
  18.         </center>
  19.         <?         
  20.                 if(isset($_GET['erro'])) //SE EXISTIR ERRO             
  21.                 echo '<b><center>Dados incorrectos. Por favor verifique os dados introduzidos!</center></b>';      
  22.         ?>         
  23.     </body>
  24. </html>
Advertisement
Add Comment
Please, Sign In to add comment