first commit
This commit is contained in:
12
module/csv_download.asp
Normal file
12
module/csv_download.asp
Normal file
@@ -0,0 +1,12 @@
|
||||
<%
|
||||
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")
|
||||
|
||||
%>
|
||||
Reference in New Issue
Block a user