in reply to saving data locally in CGI script?
If you mean that you want the browser to prompt the user where to download your CSV file, that's a matter of sending the proper HTTP headers. In your case, you need to send the appropriate Content-Disposition header:
print "Content-Disposition: attachment; filename=test.csv\r\n\r\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: saving data locally in CGI script?
by Anonymous Monk on Jan 22, 2010 at 22:31 UTC |