[PHP]Warning: Cannot modify header information

khonel

New Member
I have a simple code:\[code\]header("Location: http://www.wp.pl/");\[/code\]end this code return:\[quote\] Warning: Cannot modify header information - headers already sent by (output started at /var/www/plik.php:1) in /var/www/plik.php on line 2\[/quote\]I don't have any BOM, whitespaces etc. before "php" declaration.What's wrong?
 
Top