print "Content-Type:application/vnd.ms-excel\n"; print "Content-Disposition:attachment;filename=data.xls\n\n";