Open xiaomy12 opened 5 years ago
@ktamas77 @llbbl @mintao @MiniCodeMonkey @ChrisThompsonTLDR
I think you mistakenly mentioned me.
sir do you know how to resolve this issue? please check my php code
the library of @ktamas77 was not set to simultaneous request to firebase I don't know if it was the issue but it was not set to curl_multi_exec
<?php require 'firebaseLib.php'; $Trash = $_GET["trash"]; $Distance = $_GET["distance"]; $Temperature = $_GET["temp_f"]; $Humidity= $_GET["humidity"]; $url = 'https://thesis1-69.firebaseio.com'; $token = 'xxxxxxxxxxxxxxxx'; $firebasePath = '/thesis1-69/'; $devicestatus= array('Distance' => $Distance,'Temperature' => $Temperature,'Humidity' => $Humidity); $full= array($Trash => $devicestatus); $fb = new Firebase($url, $token); $fb -> update($firebasePath, $full); ?>