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;
In reply to RE: File Download
by t0mas
in thread File Download
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |