摘要:
/**作用:统计字符长度包括中文、英文、数字 * 参数:需要进行统计的字符串、编码格式目前系统统一使用UTF-8 * 修改记录:$str = "kds";echo sstrlen($str,'utf-8'); * */function sstrlen($str,$charset) { $n = 0; 阅读全文
posted @ 2019-05-07 19:03
落华
阅读(39)
评论(0)
推荐(0)
摘要:
$content = file_get_contents("http://www.doucube.com"); // or $lines = file("http://www.doucube.com"); // or readfile(http://www.doucube.com); 不过,这种做法 阅读全文
posted @ 2019-05-07 13:38
落华
阅读(154)
评论(0)
推荐(0)

浙公网安备 33010602011771号