void header_remove ([ string $name ] )
它用于删除以前设置的标头
Sr.No | 参数 & Description |
---|---|
1 |
name 它包含设置为删除的标头名称 链接:https://www.learnfk.comhttps://www.learnfk.com/php/php-function-header-remove.html 来源:LearnFk无涯教程网 |
没有返回值
<?php header("X-f1: b1"); header("X-b1: b2"); header_remove("X-f1"); ?>
这将产生以下输出-
X-b1: b2
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)