【发布时间】:2013-08-07 01:26:18
【问题描述】:
我正在尝试使用
get_headers($url)
但是我收到了类似的警告
get_headers() [function.get-headers]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in
还有其他方法吗?
谢谢。
【问题讨论】:
-
您可以发出
HEAD请求并查找Content-Length标头。
标签: php