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

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

WBOY
WBOYOriginal
2016-06-13 10:21:40796browse

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

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


 


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
Previous article:让你同时上传 1000 个文件Next article:Pattern Modifiers