开发者

PHP http handling

开发者 https://www.devze.com 2022-12-11 09:11 出处:网络
Is there a way to prevent a php script fr开发者_开发知识库om sending a http response when the script is finished executing? If not in php is it possible in any-other common web scripting langues?I bel

Is there a way to prevent a php script fr开发者_开发知识库om sending a http response when the script is finished executing? If not in php is it possible in any-other common web scripting langues?


I believe that would be something controlled by the web server, not the scripting language.


assuming no headers have been sent, just die();


No, but you can send a http 204 (No Content).

0

精彩评论

暂无评论...
验证码 换一张
取 消