Home
/
Snippets
/ PHP: get user's IP address
»
Home
»
Articles
»
Resources
»
Snippets
PHP: get user's IP address
<?php $userIp = $_SERVER['REMOTE_ADDR'];