planktoscope/pipeline/write.php

7 lines
142 B
PHP
Raw Normal View History

2019-12-11 07:29:42 +01:00
<?php
$txt = $_REQUEST["txt"];
$myfile = fopen("newfile.txt", "w") or die("Unable to open file!");
fwrite($myfile, $txt);
fclose($myfile);
?>