StevenGuo 发表于 2009-5-14 17:30:23

如何解决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文档中有这个函数的介绍啊!

Hex 发表于 2009-5-14 17:53:42

这需要装扩展吧?看看你的 php_info() 都有什么扩展。
页: [1]
查看完整版本: 如何解决Fatal error: Call to undefined function http_parse_headers()