Home
/
Snippets
/ PHP: get IP address of the server
»
Home
»
Articles
»
Resources
»
Snippets
PHP: get IP address of the server
<?php $ip = $_SERVER['SERVER_ADDR'];