The most important line is header("Content-Disposition: attachment; filename=BOBreport.xls"); I need to have it in my perl script to export a html table data to Excel Thanks<?php header('Content-type: application/vnd.ms-excel'); header("Content-Disposition: attachment; filename=BOBreport.xls"); header("Pragma: no-cache"); header("Expires: 0"); echo $_REQUEST['hiddenExportText']; ?>
In reply to Need help in translating the following php code to perl by nadarajan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |