Home >Backend Development >PHP Tutorial > 修改header里面的Connection为close解决方法

修改header里面的Connection为close解决方法

WBOY
WBOYOriginal
2016-06-13 13:39:493333browse

修改header里面的Connection为close
怎么在不改变服务器配置的情况下用php将header里Connection设置为close啊
而且我用header(“Connection:close”)不管用啊

------解决方案--------------------
header("Content-Length: 0");
header("Connection: close");
flush();
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn