ob_get_contents

(PHP 4, PHP 5)

ob_get_contents --  Return the contents of the output buffer

Description

string ob_get_contents ( void )

This will return the contents of the output buffer or FALSE, if output buffering isn't active.

See also ob_start() and ob_get_length().