From 46f212f1d9e3107f667c0d9c1a7b4491187f7094 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sun, 2 Sep 2018 18:16:48 +0200 Subject: [PATCH] Add spotter-ping.php --- zz-extra/spotter-ping.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 zz-extra/spotter-ping.php diff --git a/zz-extra/spotter-ping.php b/zz-extra/spotter-ping.php new file mode 100644 index 0000000..3303240 --- /dev/null +++ b/zz-extra/spotter-ping.php @@ -0,0 +1,19 @@ + TRUE, CURLOPT_HEADER => FALSE, CURLOPT_SSL_VERIFYHOST => FALSE, CURLOPT_SSL_VERIFYPEER => FALSE, CURLOPT_TIMEOUT => 4]); +$content = curl_exec($ch); +curl_close($ch); + +if ($content == 'spotter-pong') { + echo 'spotter-pong'; +}