aboutsummaryrefslogtreecommitdiff
path: root/admin/api
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-09-11 19:42:09 +0200
committerMinteck <nekostarfan@gmail.com>2021-09-11 19:42:09 +0200
commit2c014c29f2cf7a519152937f82ff67c0ef23d84f (patch)
tree158ce653bc4ff3edbb59ce6fbd3f9d94ef594a6a /admin/api
parent067d7fa420f6f07f1a26586f293f92f7f40e3d05 (diff)
downloadmain-2c014c29f2cf7a519152937f82ff67c0ef23d84f.tar.gz
main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.tar.bz2
main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.zip
Commit
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