speedtest/getIP.php
ke-mccormick 018992cd27 Outputs Client IP in JSON
getIP({"ip":"8.8.8.8"});
2017-02-26 04:13:26 -06:00

4 lines
73 B
PHP

<?php
$ip = $_SERVER['REMOTE_ADDR'];
echo "getIP({\"ip\":\"$ip\"});";
?>