ob_get_contents

(PHP 4 >= 4.0b1)

ob_get_contents --  Return the contents of the output buffer

Description

string ob_get_contents ()

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