Ver Mensaje Individual
  #7 (permalink)  
Antiguo 16/06/2005, 03:39
sete81
 
Fecha de Ingreso: mayo-2005
Mensajes: 23
Antigüedad: 18 años, 10 meses
Puntos: 0
gracias por el codigo, pero a mi me da errores ahora te pondre lo que me pone. cuando un login con el:
<html>
<head>
<title>Autentificación PHP</title>
</head>
<body>
<h1>Autentificación PHP</h1>
<form action="verifica.php" method="POST">
<table align="center" width="225" cellspacing="2" cellpadding="2" border="0">
<tr>
<td colspan="2" align="center"
<?if ($_GET["errorusuario"]=="si"){?>
bgcolor=red><span style="color:ffffff"><b>Datos incorrectos</b></span>
<?}else{?>
bgcolor=#cccccc>Introduce tu clave de acceso
<?}?></td>
</tr>
<tr>
<td align="right">USER:</td>
<td><input type="Text" name="login" size="8" maxlength="50"></td>
</tr>
<tr>
<td align="right">PASSWD:</td>
<td><input type="password" name="talvez" size="8" maxlength="50"></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="Submit" value="ENTRAR"></td>
</tr>
</table>
</form>
</body>
</html>

que ataca al verifica me da este error:

Warning: Cannot add header information - headers already sent by (output started at /var/www/sete/fas.php:2) in /var/www/sete/verifica.php on line 8

Warning: Cannot add header information - headers already sent by (output started at /var/www/sete/fas.php:2) in /var/www/sete/verifica.php on line 9
Si la pagina no se redirecciona en unos instantes, haga click aqui.


I si le clico en el el "Si la pagina no se redirecciona en unos instantes, haga click aqui. " me enviar al cuerpo.php y entonces me da este error:


Warning: Failed opening 'veri2f.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/sete/cuerpo.php on line 9

Uusario no registrado


Espero que me podais solucionar el problema.no se si es porque no tengo las cookies activas o no. gracias por vuestra ayudar