20,359
社区成员
发帖
与我相关
我的任务
分享
print_r(get_headers('http://gaoqing.la/'));
[code=text]Array
(
[0] => HTTP/1.1 200 OK
[1] => Date: Sat, 10 Oct 2015 01:17:23 GMT
[2] => Content-Type: text/html; charset=UTF-8
[3] => Connection: close
[4] => Set-Cookie: __cfduid=dcd9cbb459ebf78894f98675d977276d81444439843; expires=Sun, 09-Oct-16 01:17:23 GMT; path=/; domain=.gaoqing.la; HttpOnly
[5] => Set-Cookie: PHPSESSID=ps4b7sumv3ncefuc6sglv5ug3o2koorn; path=/; HttpOnly
[6] => Expires: Thu, 19 Nov 1981 08:52:00 GMT
[7] => Pragma: no-cache
[8] => Vary: Accept-Encoding, Cookie
[9] => Cache-Control: max-age=3, must-revalidate
[10] => WP-Super-Cache: Served supercache file from PHP
[11] => Server: yunjiasu-nginx
[12] => CF-RAY: 232e7c3e2bed1683-HNY
)
[/code]