+ 5

IP address

Suppose I'm challenging an unknown person on sololearn app/website , is there any way of knowing the IP ADDRESS of the opponent on website as well as app.

17th Jan 2017, 5:30 PM
Msaligs
Msaligs - avatar
4 odpowiedzi
+ 6
function getUserIpAddr(){ if(!empty($_SERVER['HTTP_CLIENT_IP'])){ //ip from share internet $ip = $_SERVER['HTTP_CLIENT_IP']; }elseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){ //ip pass from proxy $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; }else{ $ip = $_SERVER['REMOTE_ADDR']; } return $ip; } echo "User Real IP – ".getUserIpAddr();
15th Jul 2018, 12:07 PM
\__(° = °)__/
+ 4
No, Skiddie. There isn't. Any attempt to grab user data will catch the HTTP Server's proxy data.
17th Jan 2017, 5:58 PM
Louis Milotte
Louis Milotte - avatar
+ 2
Till now i am unable to find the answer of this question
19th Jun 2017, 7:26 PM
🙃tEnSiOn🙃
🙃tEnSiOn🙃 - avatar
0
At kill
4th Sep 2019, 6:10 PM
Blerim Beqa
Blerim Beqa - avatar