-
-
Save parzibyte/d5bf27c63c562fa6b5bfa9b7ae0eca96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!isset($_GET["temperature"]) || !isset($_GET["humidity"])) { | |
exit("temperature and humidity are required"); | |
} | |
$temperature = $_GET["temperature"]; | |
$humidity = $_GET["humidity"]; | |
include_once "functions.php"; | |
saveDhtData($temperature, $humidity); | |
exit("ok"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment