PHP ip2long() 出现负数的解决方法

function ip_long($ip=0){ return sprintf('%u',ip2long($ip)); } 不知道有什么隐患没有,有更好办法的朋友请留言指教。php
相关文章
相关标签/搜索