Welcome to Geeklog, Anonymous Thursday, February 02 2023 @ 09:55 pm EST

Geeklog Forums

HowYOU dissolve LogIn Problem Thru Proxy


Status: offline

d404

Forum User
Chatty
Registered: 01/21/05
Posts: 41
blah
when you LogIn Thru proxy usually your proxy hide the real IP YOU ARE USING

So this solution is not useful if your proxy not Give the php function ability to determinant the real ip you Are use .

Now , before You go ahead with is solution let we first detect your proxy that you are using if it give us a real ip ( client ip )

Ues this code


$ip = isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
echo 'Your IP is: '.$ip;

?>


and upload it your site as php file then compare between the IP you get from php file and the IP you see it in your connection status

IF THEY ARE SAME THEN COMPLETE THE READING AND IF NOT , YOU HAVE TO CLOSE THIS PAGE


FIRST ONE :

GO TO lib-sessions.php IN /system FOLDER

OPEN IT AND replace ( carefully) ALL " REMOTE_ADDR " WITH "HTTP_X_FORWARDED_FOR "

also go to the users.php in /public_html

and search for "REMOTE_ADDR" adn replace it wihe "HTTP_X_FORWARDED_FOR "


REMARK : IF THE IP change THEN YOU WILL BE LOGOUT directly


GOODLUCK
 Quote

All times are EST. The time is now 09:55 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content