コード例 #1
0
 public function Init()
 {
     $strCsv = FBContestApplication::ExportToCSV();
     header("Content-type: application/octet-stream");
     header("Content-Disposition: attachment; filename=\"my-data.csv\"");
     die($strCsv);
 }
コード例 #2
0
<?php

header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"my-data.csv\"");
$strReturn = FBContestApplication::ExportToCSV();
die($strReturn);