This website requires JavaScript.
Explore
Help
Register
Sign in
kumi
/
speedtest
Watch
1
Star
0
Fork
You've already forked speedtest
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
f432f84e3a
speedtest
/
getIP.php
4 lines
39 B
PHP
Raw
Normal View
History
Unescape
Escape
Outputs Client IP in JSON getIP({"ip":"8.8.8.8"});
2017-02-26 10:13:26 +00:00
<
?
php
Improved client IP detection; Updated examples
2017-02-26 11:15:51 +00:00
echo
$_SERVER
[
'REMOTE_ADDR'
];
Outputs Client IP in JSON getIP({"ip":"8.8.8.8"});
2017-02-26 10:13:26 +00:00
?>
Reference in a new issue
Copy permalink