int ob_get_length ( void )
This will return the length of the contents in the output buffer.
Returns the length of the output buffer contents or FALSE if no buffering is active.