aboutsummaryrefslogtreecommitdiff
path: root/admin/api
diff options
context:
space:
mode:
Diffstat (limited to 'admin/api')
-rw-r--r--admin/api/ipTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/api/ipTest.php b/admin/api/ipTest.php
new file mode 100644
index 0000000..123507e
--- /dev/null
+++ b/admin/api/ipTest.php
@@ -0,0 +1,4 @@
+<?php
+
+require_once $_SERVER['DOCUMENT_ROOT'] . "/admin/private/header.api.php";
+echo var_export(unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip=127.0.0.1'))); \ No newline at end of file