HTTP 函数
php 手册 | 脚本学堂 | 脚本编程 | 网站编程 | 系统管理 | 服务器配置 | 数据库管理 | Php教程 | python教程 | 正则表达式 | 批处理脚本 | Centos教程 | Linux基础教程

http_head

(PECL pecl_http >= 0.1.0)

http_headPerform HEAD request

说明

string http_head ([ string $url [, array $options [, array &$info ]]] )

Performs an HTTP HEAD request on the supplied url.

可用参数的完整列表见 http_get() 函数和 选项

参数

url

URL

options

请求选项

info

请求/响应信息

返回值

成功时以字符串返回 HTTP 响应,失败时返回 FALSE。


HTTP 函数
php 手册 | 脚本学堂 | 脚本编程 | 网站编程 | 系统管理 | 服务器配置 | 数据库管理 | Php教程 | python教程 | 正则表达式 | 批处理脚本 | Centos教程 | Linux基础教程