Mercurial > hg > webaudioevaluationtool
view save.php @ 1076:1d4d4d50ce62
Scripts: generate_report slightly more robust against missing duration values
author | Brecht De Man <BrechtDeMan@users.noreply.github.com> |
---|---|
date | Tue, 22 Sep 2015 18:19:38 +0200 |
parents | 61a211d3a567 |
children | de9a0a740b6e 7b0ce3a9ddc1 |
line wrap: on
line source
<?php head('Access-Control-Allow-Origin: *'); $postText = file_get_contents('php://input'); $datetime = date('ymdHis'); $xmlfile = "save".$datetime.".xml"; $fileHandle = fopen("saves/".$xmlfile, 'w'); fwrite($fileHandle, $postText); fclose($fileHandle); ?>