I'm getting the following error. My question is, where would I use the ob_start() and ob_end_flush() function so I can get rid of this. I have read the PHP manual, but not quite getting it.....Or if there is a better way?
Don't work around the problem with output buffering; try fixing it.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache/htdocs/supreme/updates/update-corrections-write.php:2) in /usr/local/apache/php/includes/restricted.inc on line 1
You must have session_start() before any output. You've placed it on line 1 of restricted.inc, but output was started on line 2 of update-corrections-write.php. If you're going to include restricted.inc and start a session, include it before there is output.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php