comparison php/requestKey.php @ 2633:7270da0c8647

Use ->save not saveXML
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 19 Jan 2017 12:13:24 +0000
parents aa8d428fbb43
children 7d619727130c
comparison
equal deleted inserted replaced
2632:aa8d428fbb43 2633:7270da0c8647
68 $doc_struct->documentElement->appendChild($test_proto); 68 $doc_struct->documentElement->appendChild($test_proto);
69 } 69 }
70 // Add start time 70 // Add start time
71 // Add IP Address information 71 // Add IP Address information
72 // Save the file 72 // Save the file
73 $doc_struct->saveXML($filename); 73 $doc_struct->save($filename);
74 echo "<response><state>OK</state><key>".$key."</key></response>"; 74 echo "<response><state>OK</state><key>".$key."</key></response>";
75 ?> 75 ?>