Home  >  Article  >  Backend Development  >  php中header施行后没有输出

php中header施行后没有输出

WBOY
WBOYOriginal
2016-06-13 12:37:08824browse

php中header执行后没有输出
$testStr = "aaa";
$testStr = "ccccccccc";
header("HTTP/1.1 304 Not Modified"); 
echo $testStr;
?>
为什么我的的代码会没有输出

php header
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