di un'occhiata ai comandi ob_start, ob_get_length, ed ob_flush del manuale PHP.