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>
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.