Problems with - Header("Location: http://www.example.c

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
adityai
Forum Newbie
Posts: 1
Joined: Thu Jun 19, 2003 11:09 pm

Problems with - Header("Location: http://www.example.c

Post by adityai »

I have a problem with the 'Header' tag of PHP which allows us to redirect to a new location. The error message displayed is as follows:

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\apache group\apache\htdocs\anj\redirect.php:3) in c:\program files\apache group\apache\htdocs\anj\redirect.php on line 6


Please reply as soon as possible.
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

Please read this forum sticky.
Post Reply