Use the Content-disposition header, like so:
print "Content-type: application/msword\n"; print "Content-disposition: attachment; filename=mydoc.doc\n\n"
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In reply to Re: How do I force a certain filename in the browser?
by Chmrr
in thread How do I force a certain filename in the browser?
by cfreak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |