This website requires JavaScript.
Explore
Help
Sign In
beenull
/
speedtest
Watch
1
Star
0
Fork
You've already forked speedtest
0
Code
Issues
Pull requests
Packages
Projects
Releases
Wiki
Activity
4.2.2
speedtest
/
getIP.php
4 lines
39 B
PHP
Raw
Permalink
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