mirror of
https://github.com/librespeed/speedtest.git
synced 2026-10-23 16:51:35 +00:00
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…
Add table
Add a link
Reference in a new issue