Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

edan's scratchpad

by edan (Curate)
on Jun 14, 2004 at 10:24 UTC ( [id://366475] : scratchpad . print w/replies, xml ) Need Help??


Useful information (for myself, maybe even for you!)

Headers to "force download" "cross-browser":

print $cgi->header('-type' => "application/octet-stream;name=$file", '-Content-Disposition' => "attachment;filename=$file", '-Content-Transfer-Encoding' =>"binary");
- adamk - here