How can I get PHP to display the headers it received from a browser?(如何让 PHP 显示它从浏览器收到的标头?)
问题描述
它们都存储在 $_SERVER
中吗?甚至是定制的?
Are they all stored in $_SERVER
? Even custom ones?
推荐答案
试试这个
print_r
($_SERVER)
它将列出数组中的所有内容
It will list everything within the array
这篇关于如何让 PHP 显示它从浏览器收到的标头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!