12 lines
439 B
Plaintext
12 lines
439 B
Plaintext
<%
|
|
Response.Expires = 0
|
|
Response.ContentType = "application/vnd.ms-excel"
|
|
Response.ContentType = "application/unkown"
|
|
Response.ContentType = "text/csv"
|
|
Response.Buffer = TRUE
|
|
Response.AddHeader "Content-Disposition","attachment; filename="&request("csvName")&"_("&Date()&").csv"
|
|
Response.BinaryWrite(ChrB(239) & ChrB(187) & ChrB(191))
|
|
Server.ScriptTimeOut = 60 * 20
|
|
response.write request("csvText")
|
|
|
|
%> |