ob_get_contents

(PHP4 )

ob_get_contents --  Return the contents of the output buffer

Description

string ob_get_contents(void);

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

See also ob_start(), ob_end_flush(), and ob_end_clean().