Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 258 Bytes
<?php
$jsonStr = $_GET["jsonData"];
header("Content-Type: text/plain");
header("Content-Length: " . strlen($jsonStr));
header("Content-Disposition: attachment; filename=\"data_" . date('Y-m-d_H-i-s', time()) . ".json\"");
print(stripslashes($jsonStr));
?>