mirror of https://github.com/IoTcat/wIoT.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
334 B
11 lines
334 B
<?php |
|
header('Access-Control-Allow-Origin:*'); |
|
include './functions.php'; |
|
|
|
$waterAdd=$_REQUEST['waterAdd']; |
|
$waterFlow1=$_REQUEST['waterFlow1']; |
|
$waterFlow2=$_REQUEST['waterFlow2']; |
|
|
|
$conn=db__connect(); |
|
|
|
db__pushData($conn,"waterSys",array("time"=>millis(),"waterAdd"=>$waterAdd,"waterFlow1"=>$waterFlow1,"waterFlow2"=>$waterFlow2)); |