Home > php教程 > php手册 > PHP中如何在输出内容后再输出头信息?

PHP中如何在输出内容后再输出头信息?

WBOY
Release: 2016-06-13 10:21:40
Original
782 people have browsed it

Q:我可不可以在输出内容后再输出头信息呢?

A:当然可以,PHP配置文件(PHP3为php3.ini,PHP4为php.ini)中有一个配置项可以来设置,该配置项的名字为output_buffering,您将其设置为On,并重新启动Apache,IIS或PWS等Web服务即可.


 


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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template