Warning: Cannot modify header information - headers
Status: Alpha
Brought to you by:
shankar_p
Warning: Cannot modify header information - headers already sent by (output started at C:\apache2triad\htdocs\Examserver\Test.php:38) in C:\apache2triad\htdocs\Examserver\Test.php on line 184
if your server does support output buffering, then it may be that the buffer is being dumped prematurely before you're sending your headers. This could be happening if you're using flush() or ob_flush() before you use header().
When you use the header() function, you should always check if headers have been sent or not.
The above has to be implemented to avoid the warnings in some system.
Thanks for sandesh magdum to identify this problem