Use something like LiveHTTPHeaders (or wget) to see if your Content-Disposition is being set correctly -- I haven't tested it but I think you may need to do Content_Disposition. Or just use the -attachment parameter:
print $cgi->header( -type => 'application/vnd.ms-excel', -attachment => $file, -Content_Length => $filesize );
update: Either using -Content_Disposition or -attachment works for me.
In reply to Re^2: Launching Excel from a CGI
by derby
in thread Launching Excel from a CGI
by rashley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |