anyone kind enough to transcribe this php to ASP.NET ??
thank you kindly in advance.
jJ
<?php
if(isset($_POST['data']) && $_POST['data'] != '') {
$output = $_POST['data'];
$newfile = time() . ".xml";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);
echo 'file created: ' . $newfile;
} else {
echo "not saved";
}
?>