Google:
www.forosdelweb.com/f18" target="_blank">"Warning: Cannot modify header information - headers already sent by" site:
www.forosdelweb.com/f18
Preguntas frecuentes:
186. ¿Por qué me sale "Warning: Cannot modify header information - headers already sent by (output started at [1]:[2]) in [3] on line [4]"
Documentación:
www.php.net/header
¿Y nada en todo este tiempo?
Tienes una salida al navegador antes de la función header(), ese es el error. Revisa el código anterior, si no hay nada, revisa el servidor no te esté metiendo "algo" (si es gratuito, luego meten publicidad).