Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/07/2007, 09:27
dimau269
 
Fecha de Ingreso: julio-2007
Mensajes: 9
Antigüedad: 16 años, 9 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 >&nbsp;</td>
</tr>
<tr>
<td></td>
<td>login</td>
<td><input name="login" type="text" class="pequeno" id="login" size="10" maxlength="10">
</td>
<td >&nbsp;</td>

</tr>
<tr>
<td></td>
<td >password</td>
<td ><input name="clave" type="password" class="pequeno" id="clave" size="8" maxlength="8">
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>


<tr>
<td>&nbsp;</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>&nbsp;</td>
</tr>
</table>
</td>
</tr>

</table>
</form>



</body>
</html>