Consulta

From: Date: Wed, 23 Aug 2000 14:54:55 +0000
Subject: Consulta
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-1137@lists.php.net to get a copy of this message
Alguien sabe porque sale este error? Warning: Cannot add header information - headers already sent by (output started at D:\GabrieL\Webs\PlanetPHP\login.php:36) in D:\GabrieL\Webs\PlanetPHP\login.php on line 39 Les comento que estoy corriendo PHP & MySql sobre windows 2000 (AS) pero hasta ahora funciona todo bien La porcion de codigo en donde causa el error es esta: $link = mysql_pconnect ("localhost", "root", "root") or die ("ERROR! al conectar MySql"); $result = mysql_db_query ("mysql", "insert into customers(id,pwd,nombre) values($uid,'$pwd','$nom' " , $link); if(!isset($COOKIE_SET)) { echo "Bienvenido "; echo $nom; setcookie("uid", $uid, mktime(0, 0, 0, 5, 14, 2002) ); // Esta es la linea header("Location: $PHP_SELF?COOKIE_SET=1"); // Esta tambien causa el mismo error exit; } Gracias anticipadas

« previous php.general.es (#1137) next »