Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/12/2004, 23:19
safe
 
Fecha de Ingreso: enero-2003
Ubicación: Córdoba, Argentina
Mensajes: 1.047
Antigüedad: 21 años, 2 meses
Puntos: 10
A ver si algo asi te sirve:

Código PHP:
<?
if(isset($_POST["login"])){
    
$pass implode (''file('1.txt')); 
    
$ingreso$_POST["ingreso"];
    if(
$ingreso==$pass){
        
header("location: acierto.php");
    }else{
        
header("location: noacierto.php");
    }
}
?>
<html>
<body>
<form action="<?=$_SERVER["PHP_SELF"]?>" method="post">
<input type="password" name="ingreso">
<input type="hidden" name="login" value="login">
<input type="submit">
</form>
</body>
</html>
__________________
oohh... quisiera ser godines!!!