Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\system\reporting\download.php on line 136
136線是$filename=strtoupper($_SESSION["SystemNameStr"])'_LOGINHISTORY_'.date('Ymd').'.CSV';
意外T_CONSTANT_ENCAPSED_STRING
if ($numlog>=1)
{
$filename=strtoupper($_SESSION["SystemNameStr"])'_LOGINHISTORY_'.date('Ymd').'.CSV';
header("Pragma: public"); // Added to allow IE to download through SSL tunnels.
header("Cache-Control: private");
header("Content-Type: text/csv");
header("Content-Disposition: attachment; filename=$filename ");
用strtoupper的結束()調用其次是 '_LONGHISTORY_' 沒有按」你看起來不錯 – GordonM