Any advice? Thanks! Shawn
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I can't get ob_get_contents() to return false, or I don't know how to test > for it. Help appreciated. The following never echos STARTING!!! > > ob_end_flush(); > if(ob_get_contents() === FALSE) { > echo "STARTING!!!"; > ob_start(); > } > > also tried: if(ob_get_contents() == FALSE) > and: if(!ob_get_contents()) > and: if(ob_get_contents() == "") > > But I do get the following notice at the ob_end_flush(); line which tells me > that output buffering is not on: > > Notice: ob_end_flush() [ref.outcontrol]: failed to delete buffer default > output handler. > > Thanks! > Shawn > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php