You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2022. It is now read-only.
if (isset($_GET["t"]) && preg_match("/^\d+$/", $_GET["t"])) {
fwrite($fh, ",\"time\":".$_GET["t"]."}");
} else {
fwrite($fh, "}");
}
fclose($fh);
// you should obviously do your own checks before this...
echo "OK";
} elseif (isset($_GET["tracker"])) {
// do whatever you want here...
echo "OK";
} else {
header('HTTP/1.0 400 Bad Request');
echo 'Please type this URL in the <a href="https://play.google.com/store/apps/details?id=fr.herverenault.selfhostedgpstracker">Self-Hosted GPS Tracker</a> Android app on your phone.';