egroupware/phpgwapi/js/dhtmlxGantt/samples/02_data_load/php/saveXML.php
2011-11-16 19:31:00 +00:00

12 lines
183 B
PHP

<?php
$filename = $_POST['filename'];
$data = $_POST['data'];
$file = realpath('..') . '\\save\\' . $filename;
$f = fopen($file, 'w');
fwrite($f, $data);
fclose($f);
?>