From 850212c394204b179f1716d25e42d5d4a92d1002 Mon Sep 17 00:00:00 2001 From: adolfintel Date: Wed, 5 Sep 2018 15:46:34 +0200 Subject: [PATCH] Updated getIP.php so it will ignore errors --- Test backends/getIP.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Test backends/getIP.php b/Test backends/getIP.php index 77465c3..718a825 100644 --- a/Test backends/getIP.php +++ b/Test backends/getIP.php @@ -4,6 +4,7 @@ Output from this script is a JSON string composed of 2 objects: a string called processedString which contains the combined IP, ISP, Contry and distance as it can be presented to the user; and an object called rawIspInfo which contains the raw data from ipinfo.io (will be empty if isp detection is disabled). Client side, the output of this script can be treated as JSON or as regular text. If the output is regular text, it will be shown to the user as is. */ +error_reporting(0); $ip = ""; header('Content-Type: application/json; charset=utf-8'); header('Access-Control-Allow-Origin: *');