ÀԷ¹ÞÀº IPÁÖ¼Ò¸¦ 127.0.¡Ù.1 ÇüÅ·Π¹Ù²Þ. |
|
|
 |
13³â Àü |
<?php
function IP_Hidden($ip)
{
$ip = preg_replace("|([0-9]{1,3}\.)([0-9]{1,3}\.)([0-9]{1,3}\.)([0-9]{1,3})|","\\1"."\\2"."¡Ù."."\\4", $ip);
return $ip;
}
echo IP_Hidden($_SERVER["REMOTE_ADDR"]);
?>
|
|
̵̧ : 680 |
̵̧
¸ñ·Ï
|
|