This website requires JavaScript.
Explore
Help
Sign In
mirror
/
librespeed-speedtest
Watch
1
Star
0
Fork
0
You've already forked librespeed-speedtest
mirror of
https://github.com/librespeed/speedtest.git
synced
2024-05-10 18:54:52 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
Files
168b1a4f85d65fbf1071b9abd8a2a6db7c8a8435
librespeed-speedtest
/
getIP.php
5 lines
90 B
PHP
Raw
Normal View
History
Unescape
Escape
Outputs Client IP in JSON getIP({"ip":"8.8.8.8"});
2017-02-26 04:13:26 -06:00
<
?
php
Ping test can now use timing from Performance API; New examples; Minor changes
2017-10-30 12:35:49 +01:00
header
(
'Content-Type: text/plain; charset=utf-8'
);
Improved client IP detection; Updated examples
2017-02-26 12:15:51 +01:00
echo
$_SERVER
[
'REMOTE_ADDR'
];
Outputs Client IP in JSON getIP({"ip":"8.8.8.8"});
2017-02-26 04:13:26 -06:00
?>
Reference in New Issue
Copy Permalink