![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
16/06/2005, 05:56
|
| | Fecha de Ingreso: mayo-2005
Mensajes: 23
Antigüedad: 19 años, 8 meses Puntos: 0 | |
lo siento ahora pondre el codigo implicado de los errores:
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.
el codigo de verifica.php es :
1-<?
2-$login="$_POST[login]";
3-$talvez="$_POST[talvez]";
4-include "fas.php";
5-
6-if (${$login}==$talvez && $login!=NULL && $talvez!=NULL){
7- 8-setcookie("usuario",$login);
9-setcookie("pwd",$talvez); print "<html><body><a href=\"cuerpo.php\">Si la pagina no se
redirecciona en unos instantes, haga click aqui.</a></body></html>";
}
else {print "Passwor incorrecta, vuelva atras e intentelo nuevamente";
print "<html><body><a href=\"login1.php\">Intentelo nuevamente aqui</a></body></html>";}
?>
i si le doy a lo del Si la pagina no se redirecciona en unos instantes, haga click aqui.
me da este error:
Warning: Failed opening 'veri2f.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/sete/cuerpo.php on line 8
Uusario no registrado
i el codigo del cuerpo.php es:
<html><head>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head></html>
<? 8-include "veri2f.php"; include "fas.php";
if ($a==NUL || $b==NULL){
print "<html><body><h1>Uusario no registrado</h1></body></html>";
}
else {
if (${$a}==$b){
include "cuerpo2.php";
}
else {print "<html><body><h1>Uusario no registrado</h1></body></html>";}}
?>
i todos los archivos estan en la misma carpeta |