Merge pull request #19 from ke-mccormick/patch-1

Outputs Client IP in JSON (Requires PHP server)
This commit is contained in:
Federico Dossena 2017-02-26 11:28:40 +01:00 committed by GitHub
commit 0e83593adb

4
getIP.php Normal file
View file

@ -0,0 +1,4 @@
<?php
$ip = $_SERVER['REMOTE_ADDR'];
echo "getIP({\"ip\":\"$ip\"});";
?>