php unset Header..


如果php已经输出了header

在下面只需要header(‘Pragma:’);就可以了。。

注意最后有一个:

php 5.3.0以后提供了header_remove这个函数,比上面的方法好多了!但是美中不足的是只有5.3.0以后才能用拉~~

  1. No comments yet.
(will not be published)

  1. No trackbacks yet.