Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/06/2010, 13:45
Avatar de RIVERMILLOS
RIVERMILLOS
 
Fecha de Ingreso: marzo-2010
Mensajes: 1.336
Antigüedad: 14 años, 1 mes
Puntos: 15
Ayuda con una advertencia en php y headers

hola tengo este script en php

Código:
<?php 
session_start();
if(isset($_SESSION['bandera'])){
echo "holaa";
$_SESSION['bandera']="yes";
session_write_close();
header("Location: home.php");
}else{
echo "hola";	
}?>
y en la linea 7 me aparece esta advertemcia

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\ASPVSPHP\recibe.php:3) in C:\xampp\htdocs\ASPVSPHP\recibe.php on line 7


que puedo hacer saludos.