Safety using $_SERVER variables
- by DiogoNeves
Hi all,
I'm working on a system that relies in $_SERVER['REMOTE_ADDR'] to get the user address and check it against a white list of addresses.
Is this approach safe? Or is there a way of forcing values in superglobal variables?
Thank you,
Diogo