具体如下:
php
$ip_num) { $sub_net[] = (int)$ip_num & (int)$mask_explode[$key]; } $sub_net = implode('.', $sub_net); echo $sub_net;
运行结果:
192.168.2.0
js
上一篇:怎么在PHP中利用递归查找数据
下一篇:使用PHP怎么实现一个发送邮件确认验证注册功能