annotate save.php @ 743:ce513811a06d

Added screen shots, edited bib. Some edits to intro, abstract and conclusion.
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Thu, 15 Oct 2015 21:17:14 +0100
parents 50c651d27330
children de9a0a740b6e 7b0ce3a9ddc1
rev   line source
BrechtDeMan@715 1 <?php
BrechtDeMan@715 2 head('Access-Control-Allow-Origin: *');
BrechtDeMan@715 3 $postText = file_get_contents('php://input');
BrechtDeMan@715 4 $datetime = date('ymdHis');
BrechtDeMan@715 5 $xmlfile = "save".$datetime.".xml";
BrechtDeMan@715 6 $fileHandle = fopen("saves/".$xmlfile, 'w');
BrechtDeMan@715 7 fwrite($fileHandle, $postText);
BrechtDeMan@715 8 fclose($fileHandle);
BrechtDeMan@715 9 ?>