<?php
$ip = 12356;
$sistema = linux;
$manipulador_arq = fopen("information.xml","w+");
@fwrite($manipulador_arq,"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>\n<information>\n<settings
/>\n
<List>\n");
$xml = "<\n ip = \"$ip\"\n sistema = \"$sistema\"\n/>\n";
@fwrite($manipulador_arq,$xml);
@fwrite($manipulador_arq,"</List>\n</information>");
@fclose($manipulador_arq);
?>