Codice PHP:
$ipn = explode(".",$ip);
$uno = strtr($ipn[2],"0","x");
$uno .= strtr($ipn[2],"1","x");
$uno .= strtr($ipn[2],"2","x");
$uno .= strtr($ipn[2],"3","x");
$uno .= strtr($ipn[2],"4","x");
$uno .= strtr($ipn[2],"5","x");
$uno .= strtr($ipn[2],"6","x");
$uno .= strtr($ipn[2],"7","x");
$uno .= strtr($ipn[2],"8","x");
$uno .= strtr($ipn[2],"9","x");
$due = strtr($ipn[3],"0","x");
$due .= strtr($ipn[3],"1","x");
$due .= strtr($ipn[3],"2","x");
$due .= strtr($ipn[3],"3","x");
$due .= strtr($ipn[3],"4","x");
$due .= strtr($ipn[3],"5","x");
$due .= strtr($ipn[3],"6","x");
$due .= strtr($ipn[3],"7","x");
$due .= strtr($ipn[3],"8","x");
$due .= strtr($ipn[3],"9","x");
$ipb = $ipn[0].".".$ipn[1].".".$uno.".".$due;