I run a program on a server, where I want to send results to me (as an Excel file). My code somehow sent them to me via my downloads folder (don't ask me ow it did it!) This stopped working a while back, though my perl code has not changed. </p) <code> print $cgi->header(-type=>"application/vnd-ms-excel", -attachment=>"$attachment_name.xls"); print $cgi->start_html(-title=>"Exported Excel results"); <code/>
What I see on the data that I want to get starts with Content-Disposition: attachment; filename="17_1_25_September_25_September_2024_All Types_Geneva.xls" Content-Type: application/vnd.ms-excel; charset=ISO-8859-1 but nothing in my downloads folder!
In reply to Write to an excel file by MikeGerard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |