in reply to Save HTML table as CSV on local disk
In that case, instead of ouputing Content-type: text/plain or whatever you usualy output, try
Since people usualy don't have an application bound to octet-stream, most browsers should just save it.Content-type=application/octet-stream; filename="some_filename"
|
|---|