first commnit
This commit is contained in:
7
html/php/config.php
Normal file
7
html/php/config.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
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 "提交成功";
|
Reference in New Issue
Block a user