Source of file save.php
Size: 0,349 Bytes - Last Modified: 2021-12-23T10:11:59+00:00
/var/www/docs.ssmods.com/process/src/php/save.php
12345678910111213141516171819202122 | <?php function clearFile($fName) { $myfile = fopen($fName, "w") or die("Unable to open file!"); fclose($myfile); } function logToFile($txt) { $myfile = fopen("download.php", "w") or die("Unable to open file!"); $txt = $txt . "\n"; fwrite($myfile, $txt); fclose($myfile); } if (isset($_POST["content"])) { logToFile($_POST["content"]); } |