My apache server is setup to handle .dat files as application files that need to be downloaded. My perl script will send the data file, but the file is named the same as my perl script. I'd like to be able to define the name of the file that gets downloaded. Can someone tell me how I can pick the name of the output file that gets sent to the browser?#!/usr/bin/perl print <<"APPDATA"; Content-type: application/dat #...
In reply to output a file from perl online by ecuguru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |