![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
13/07/2007, 09:27
|
| | Fecha de Ingreso: julio-2007
Mensajes: 9
Antigüedad: 17 años, 6 meses Puntos: 0 | |
Re: error en php al autenticar usuario gracias por la respuesta mauled pero no entiendo donde esta la impresion antes del header. Me puedes ayudar? Te envio el codigo del formulario:
<html>
<head>
<title>Ejemplo de PHP</title>
</head>
<body>
<?
include('cbddsisfac.php');
?>
<center>
<h3><a href="css/emx_nav_left.css" class="titulos">INICIO</a></h3>
</center>
<form name="form1" method="post" action="validar.php">
<br>
<table width="30%" height="100" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFCC00">
<tr><td>
<table width="95%" height="225" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<tr>
<td > </td>
</tr>
<tr>
<td></td>
<td>login</td>
<td><input name="login" type="text" class="pequeno" id="login" size="10" maxlength="10">
</td>
<td > </td>
</tr>
<tr>
<td></td>
<td >password</td>
<td ><input name="clave" type="password" class="pequeno" id="clave" size="8" maxlength="8">
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><INPUT NAME="Aceptar" TYPE="submit" class="boton" id="Aceptar" VALUE="Aceptar">
</td> <td>
<?
if( isset($_GET["error"]) ){
echo "Usuario invalido";
}
?>
</td>
</tr>
<tr>
<td><a href="indice.php" target="destino">Enlace</a></td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html> |