Perl-Sensitive Sunglasses | |
PerlMonks |
Re: How do i force the user to download my content?by BUU (Prior) |
on Apr 15, 2002 at 13:16 UTC ( [id://159165]=note: print w/replies, xml ) | Need Help?? |
You simply return a "Content-type: application/octet-stream\n\n" as opposed to the normal "Content-type:text/html\n\n", and this opens up a "Save As" Dialog box, and saves stdout to their computer.
In Section
Seekers of Perl Wisdom
|
|