Answers for "php function to know my ip"

PHP
1

php only my ip

$myIp = '';
if ($_SERVER['REMOTE_ADDR'] == $myIp) {
	//do something
}
Posted by: Guest on October-02-2020
7

php get ip address

$clientIPAddress=$_SERVER['REMOTE_ADDR'];
Posted by: Guest on August-06-2019

Browse Popular Code Answers by Language