Snippets tagged “remote-addr”
2 snippets use this tag.
- How to fake $_SERVER['REMOTE_ADDR'] variable?PHP
It is generally not recommended to fake the $_SERVER['REMOTE_ADDR'] variable, as it can lead to security vulnerabilities and potential abuse of the system.
- How to Get the Client IP Address in PHPPHP
Often it is needed to collect clients’ IP addresses for security purposes or for tracking the site activity. Here, we will show you how to do it in PHP.