Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/08/2005, 11:35
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
El error es por que no debe haber html y/o llamarse a echo, print o cualquier funcion que imprima texto antes de usar header(). Puedes estar haciendo eso en el include o en la pagina padre. En estos casos tambien es conveniente usar include_once() o require_once(), por si hay 2 scripts que realizan el mismo include(). Documentacion:

http://www.php.net/manual/es/function.include.php
http://www.php.net/manual/es/function.header.php
http://www.php.net/manual/es/function.include-once.php
http://www.php.net/manual/es/function.require-once.php