MyBB Community Forums

Full Version: Change REMOTE IP to REAL IP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

Where I have to change so I can get the users real IP?
I have to replace $_SERVER['REMOTE_ADDR'] with $_SERVER['HTTP_X_REAL_IP']; but where?

Thanks!
Hmm, I do recall a discussion related to this in the past. I honestly think we should track them both. Perhaps:

IP (Real IP) for everywhere its displayed would be good.

Regardless, I don't recall where that discussion ended up going, and it was probably in the Staff forums anyways.
It's in ACP>Configuration>Settings>Server and Optimization Settings>Scrutinize User's IP address?
Thanks Paul... As I stated.. I had forgotten where the discussion lead Wink
Thank YOU!