Mercurial > hg > webaudioevaluationtool
comparison php/keygen.php @ 2511:177cbd750610
WIP for #158
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Mon, 24 Oct 2016 10:45:11 +0100 |
parents | 8536e978ab6f |
children | 4cbd314e5d9f |
comparison
equal
deleted
inserted
replaced
2510:8536e978ab6f | 2511:177cbd750610 |
---|---|
28 } | 28 } |
29 $filename = "saves/save-".$key_requested.".xml"; | 29 $filename = "saves/save-".$key_requested.".xml"; |
30 $fileHandle = fopen($filename, 'w'); | 30 $fileHandle = fopen($filename, 'w'); |
31 if ($fileHandle == FALSE) { | 31 if ($fileHandle == FALSE) { |
32 echo $xml_error; | 32 echo $xml_error; |
33 return; | |
33 } | 34 } |
34 fclose($fileHandle); | 35 fclose($fileHandle); |
35 // TODO: | 36 // TODO: |
36 // Generate the XML Base file and save it | 37 // Generate the XML Base file and save it |
37 $doc_struct = new SimpleXMLElement('<waetresult/>'); | 38 $doc_struct = new SimpleXMLElement('<waetresult/>'); |