I also had to unmask the real IP when I started using Cloudflare.
Since my projects were hosted on my own server and it was more than one project, I decided to use mod_remoteip instead of tweaking the code everywhere, and already get the real IP when Iβm using $_SERVER[βREMOTE_ADDRβ].
Good post Rogerio :)
I also had to unmask the real IP when I started using Cloudflare.
Since my projects were hosted on my own server and it was more than one project, I decided to use mod_remoteip instead of tweaking the code everywhere, and already get the real IP when Iβm using $_SERVER[βREMOTE_ADDRβ].
More on this for those who are in the same situation: support.cloudflare.com/hc/en-us/ar...
Thatβs an awesome solution, Arvin! Thanks for sharing. πππ€©