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

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

WBOY
Release: 2016-06-13 13:39:49
Original
3314 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template