Home  >  Article  >  Backend Development  >  怎么获取请求页面的头信息

怎么获取请求页面的头信息

WBOY
WBOYOriginal
2016-06-13 12:31:28880browse

如何获取请求页面的头信息
如何获取请求页面的headers?
环境使用 nginx
是否是通过获取上一个页面的URL 通过get_headers(url);来操作
还是有方便的函数可以直接获取headers的信息?

Statement:
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