![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php技术
wayne173
这个作者很懒,什么都没留下…
展开
-
php截取字符串,一个汉字按两个字符计算
header(http-equiv="Content-Type" content="text/html; charset=UTF-8");/** * * Return part of a string(Enhance the function substr()) * * @author Donghui Shang * @param string $Stri原创 2008-12-22 22:48:00 · 953 阅读 · 0 评论 -
setcookie() Cannot modify header information - headers already sent by错误解决办法
在后台管理,用header("location:");做返回时,总是不能正常返回, Warning: Cannot modify header information - headers already sent by.... 这类语句,baidu了一下,才知道是setcookie在捣乱,以下是在网上找的一些资料: 方法一: 在PHP里Cookie的使用是有一些限制的。 1、使用setcooki转载 2008-12-23 22:38:00 · 527 阅读 · 0 评论