forked from extern/egroupware
12 lines
183 B
PHP
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);
|
|
|
|
?>
|