nicholas@2510: ERROR".$key."Could not open file for writing";
nicholas@2511: return;
nicholas@2510: }
nicholas@2510: fclose($fileHandle);
nicholas@2510: // TODO:
nicholas@2510: // Generate the XML Base file and save it
nicholas@2510: $doc_struct = new SimpleXMLElement('');
nicholas@2510: $doc_struct->addAttribute("key",$key);
nicholas@2510: // Add start time
nicholas@2510: // Add IP Address information
nicholas@2510: // Save the file
nicholas@2510: $doc_struct->asXML($filename);
nicholas@2510: echo "OK".$key."";
nicholas@2510: return;
nicholas@2510: ?>