in reply to File Download
Content-type tells the web-server _how_ to send the file while the header(-type ... tells the receiving browser what to do with it. $doc contains the RTF file contents. /t0masprint "Content-type: application/rtf\r\n"; print header(-type => 'application/rtf'); print $doc;
|
|---|