annotate save.php @ 1505:a667f80c417e

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