hola amigos bueno he desarrollado un portal pero en mi maquina que estoy desarrollando corre sin ningun problema pero cuando lo he subido al servidor de produccion me sale el siguiente error:
Warning: Cannot modify header information - headers already sent by (output started at /home/dejuerga/public_html/logeo.php:5) in /home/dejuerga/public_html/logeo.php on line 90
Warning: Cannot modify header information - headers already sent by (output started at /home/dejuerga/public_html/logeo.php:5) in /home/dejuerga/public_html/logeo.php on line 91
y bueno biendo la linea 90 de mi codigo es el siguiente:
Código PHP:
if($row = mysql_fetch_array($result)) {
if($row["password"] == $passN) {
$VcID = idsesion();
setcookie("usNick",$nickN,time()+7776000); // ESTA ES LA LINEA 90
setcookie("idsession",$VcID,time()+7776000); // ESTA ES LA LINEA 91
$archivo="usuarios.dat";
$inactivo="480";
como podran ver donde establesco el setcookie es donde me parece el error. la verdad estoy ya dias intentando solucionar esto pero no le doy a ninguna
Haber si me dan una mano
Saludos
Mauricio