problemas con include y header

From: Date: Thu, 27 Apr 2000 22:23:08 +0000
Subject: problemas con include y header
References: 1 2  Groups: php.general.es 
Request: Send a blank email to general-es+get-8200@lists.php.net to get a copy of this message
Hola a todos, Por que tengo este error: Warning: Cannot add header information - headers already sent in /www/htdocs/tajada/movilsat/test.php on line 3 Cuando hago esto: <?php include 'comun.php'; header("Location:index.php"); exit(); ?> <html> <head> <title>test</title> </head> <body> </body> </html> Saludos, Javier

« previous php.general.es (#8200) next »