Created
October 2, 2015 21:20
-
-
Save NazarenoL/8bfa7b2114486828477a to your computer and use it in GitHub Desktop.
Coding horror found around #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function display_output($string = null){ | |
// header('content-type: application/json; charset=utf-8'); | |
header("Access-Control-Allow-Origin: *"); | |
header("Content-Disposition: attachment; filename=output.json"); | |
header("Pragma: no-cache"); | |
header('Content-Type: text/html; charset=utf-8'); | |
header("Expires: 0"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment