如何解决Fatal error: Call to undefined function http_parse_headers()
$headers = "content-type: text/html; charset=UTF-8\r\n".
"Server: Funky/1.0\r\n".
"Set-Cookie: foo=bar\r\n".
"Set-Cookie: baz=quux\r\n".
"Folded: works\r\n\ttoo\r\n";
print_r(http_parse_headers($headers));
为何找不到http_parse_headers()这个函数?? 我看PHP文档中有这个函数的介绍啊! 这需要装扩展吧?看看你的 php_info() 都有什么扩展。
页:
[1]