下载
文档
参与
帮助
全栈开发网
基金会
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
简介 »
« mqseries_strerror
PHP 手册
函数参考
其它服务
切换语言:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
网络
简介
安装/配置
需求
资源类型
预定义常量
网络 函数
checkdnsrr
— 给指定的主机(域名)或者IP地址做DNS通信检查
closelog
— 关闭系统日志链接
dns_check_record
— 别名 checkdnsrr
dns_get_mx
— 别名 getmxrr
dns_get_record
— 获取指定主机名的 DNS 纪录
fsockopen
— 打开 Internet 或者 Unix 套接字连接
gethostbyaddr
— 获取指定 IP 地址对应的 Internet 主机名
gethostbyname
— 返回主机名对应的 IPv4地址。
gethostbynamel
— 获取互联网主机名对应的 IPv4 地址列表
gethostname
— 获取主机名
getmxrr
— 获取 Internet 主机名对应的 MX 记录
getprotobyname
— Get protocol number associated with protocol name
getprotobynumber
— Get protocol name associated with protocol number
getservbyname
— 获取互联网服务协议对应的端口
getservbyport
— Get Internet service which corresponds to port and protocol
header
— 发送原生 HTTP 头
header_register_callback
— 调用一个 header 函数
header_remove
— 删除之前设置的 HTTP 头
headers_list
— 返回已发送的 HTTP 响应头(或准备发送的)
headers_sent
— 检测消息头是否已经发送
http_clear_last_response_headers
— Clears the stored HTTP response headers
http_get_last_response_headers
— Retrieve last HTTP response headers
http_response_code
— 获取/设置响应的 HTTP 状态码
inet_ntop
— Converts a packed internet address to a human readable representation
inet_pton
— Converts a human readable IP address to its packed in_addr representation
ip2long
— 将 IPV4 的字符串互联网协议转换成长整型数字
long2ip
— 将长整型转化为字符串形式带点的互联网标准格式地址(IPV4)
net_get_interfaces
— 获取网络接口
openlog
— Open connection to system logger
pfsockopen
— 打开持久的 Internet 或 Unix 套接字连接
setcookie
— 发送 Cookie
setrawcookie
— 发送未经 URL 编码的 cookie
socket_get_status
— 别名 stream_get_meta_data
socket_set_blocking
— 别名 stream_set_blocking
socket_set_timeout
— 别名 stream_set_timeout
syslog
— Generate a system log message
改进此页面
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google