# HG changeset patch # User Nicholas Jillings # Date 1493118389 -3600 # Node ID 1ba5ac9d88e72b8b7ec84d3f8b31eb1c5efeb25f # Parent a99c5f008c2dc76b961b1e065fc3b799f9529b0c More PHP work diff -r a99c5f008c2d -r 1ba5ac9d88e7 php/requestKey.php --- a/php/requestKey.php Tue Apr 25 12:03:25 2017 +0100 +++ b/php/requestKey.php Tue Apr 25 12:06:29 2017 +0100 @@ -58,7 +58,8 @@ $doc_struct = new DOMDocument; $doc_struct->preserveWhiteSpace = false; $doc_struct->formatOutput = true; -$doc_struct->loadXML(""); +$doc_struct->loadXML(""); +$doc_struct->documentElement->setAttribute("key", $key); // Add the root if (file_exists($testURL)) { $test_proto_doc = new DOMDocument;