<?php ini_set('display_errors',1); error_reporting(E_ALL); echo $HTTP_POST_VARS["output"]; //header("Content-Disposition: attachment; filename=$filename"); ?>