View Single Post
Old Jan 14th, 2008, 12:14 AM   #4
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Re: Warning: Cannot modify header information - headers already sent by (output started at

If you still want to supress the error, you can do so by calling the error_reporting function. Or, if you want to do it for all files, edit the php.ini file - check the line beginning with "error_reporting = ".

If this is your production server, turning display_errors off and log_errors on in your php.ini file is recommended, so if there are any errors, your users don't see them but you do. If it's your development server, I'd recommend the opposite - set error_reporting to E_ALL, display_errors to On and log_errors to Off.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote