Regarding the headers already sent problem when using the post method

WBOY
Release: 2016-08-08 09:19:55
Original
1128 people have browsed it

I recently used Baidu Voice to deploy on Sina Cloud. I found that the following error would occur when using the post method. It can be successful using the get method:

<code>Warning: Cannot modify header information - headers already sent <span>by</span> (output started <span>at</span>                           /data1/www/htdocs/<span>480</span>/androidmysql/<span>3</span>/tts.php:<span>9</span>) <span>in</span> tts.php <span><span>on</span><span>line</span><span>10</span></span></code>
Copy after login

I found a more mature solution on Putang (ps. I forgot the URL, Google has a good solution). But what I tried didn't solve the problem at all. Later I found out that it was a problem with Sina Cloud EngineFor security reasons, some general headers can be sent repeatedly, but personalized headers cannot.

Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.

The above has introduced the problem of headers already sent using the post method, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

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