';
echo nl2br($out) ;
echo '
';
}
else{
// Save output as file
$filecontent=$outfile;
$downloadfile='MySQL_Server.xml';
header("HTTP/1.1 200 OK");
header("Content-Length: ".strlen($filecontent));
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=$downloadfile");
header("Content-Transfer-Encoding: binary");
echo $filecontent;
}
}
// Display the form for the user
else {
writeHeader();
?>