Posted on 2005-09-28 17:27:02-07 by nareval in response to 1040
Re: HTML - malformed Headers using RTF
I have since changed the header to: $rtf_filename = "root_cause-$daterange.rtf"; print ("Content-type: application/rtf\n"); print ("Content-Disposition: attachment; filename=$rtf_filename\n"); $h = RTF::Writer->new_to_handle(*STDOUT); $h->prolog( 'title' => "Greetings, hyoomon" ); $h->number_pages; $h->paragraph(\'\fs40\b\i', "Hi there!"); $h->close; I still malformed headers with this error: malformed header: {\rtfi\ansi\deff0{\fonttbl
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.