This commit is contained in:
2022-01-12 14:14:42 +08:00
parent fd5859e21e
commit 96c9a58288
11 changed files with 158 additions and 34 deletions

View File

@ -1,5 +1,7 @@
<?php
file_put_contents("config.json",json_encode($_POST));
var_dump($_POST);
exec("sudo touch /home/data/Setting/config.json");
exec("sudo chmod 777 /home/data/Setting/config.json");
file_put_contents("/home/data/Setting/config.json",json_encode($_POST));
echo "提交成功";