Beauford wrote:

> 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.

Just a clarification, session_start() is on the first line of restricted.inc
and restricted.inc is included on the first line of
update-corrections-input.php. All update-corrections-write.php does is write
info to a database and includes update-corrections-input.php on the last
line. So I'm still not understanding where the output from
update-corrections-write.php is coming from.  

Thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to