Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/03/2008, 07:29
angelmf
 
Fecha de Ingreso: febrero-2008
Mensajes: 133
Antigüedad: 16 años, 2 meses
Puntos: 0
Exclamación Re: header("Location: 1.php") no funciona?

cuando intento redirigir mi pagina a la siguiente el browser me da este error:


Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\registro.php:10) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\registro.php on line 21

mi codigo de la pagina registro.php


Código PHP:
$value=$_GET["checkb"];
$i=0;
$con=count($value);
do
{
echo 
$value[$i++];

}while(
$i<$con);
if(
$i==5)
{
header("Location: localhost/index.php");} 
De antemano gracias por la ayuda....