What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-13 07:59:01
php get user ip address
The simplest way to collect the Client/Visitor IP address using PHP is the REMOTE_ADDR. Pass the 'REMOTE_ADDR' in PHP $_SERVER variable. It will return the IP address of the visitor who is currently viewing the webpage. Get the IP address of the website ... Add solution