Merge pull request #19 from ke-mccormick/patch-1
Outputs Client IP in JSON (Requires PHP server)
This commit is contained in:
commit
0e83593adb
1 changed files with 4 additions and 0 deletions
4
getIP.php
Normal file
4
getIP.php
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?php
|
||||||
|
$ip = $_SERVER['REMOTE_ADDR'];
|
||||||
|
echo "getIP({\"ip\":\"$ip\"});";
|
||||||
|
?>
|
Loading…
Reference in a new issue