egroupware/phpgwapi/js/dhtmlxGantt/samples/02_data_load/php/saveXML.php

12 lines
183 B
PHP
Raw Normal View History

2011-11-16 20:31:00 +01:00
<?php
$filename = $_POST['filename'];
$data = $_POST['data'];
$file = realpath('..') . '\\save\\' . $filename;
$f = fopen($file, 'w');
fwrite($f, $data);
fclose($f);
?>