Which of the following code snippets has the most appropriate headers to force the browser to download a CSV file?
Correct Answer: header("Content-type: text/csv"); header("Content-Disposition: attachment; filename=file.csv"); header("Pragma: no-cache"); header("Expires: 0");
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP MCQ Questions