speedtest
speedtest copied to clipboard
Get user IP behind a proxy
The original method of using $_SERVER['REMOTE_ADDR']; may not work if it is behind a proxy. However if you are using a proxy the it doesn't make sense to do telemetry.
This is technically correct, but the user IP obtained properly from getIP.php is already in the ispinfo field.
No it is not.
The original line $ip = $_SERVER['REMOTE_ADDR'];
assume that you are directly connected to the speed test server (well, you should be), but there's probably a proxy,a CDN, or whatever.
As far as I see, this is already fixed