PHP network operation function summary, php function summary _ PHP Tutorial

Source: Internet
Author: User
Tags mx record
PHP network operation function summary, php function summary. PHP network operation function summary, php function summary checkdnsrr-perform DNS communication check for the specified host (domain name) or IP address closelog-disable system log link define_syslog_vari PHP network operation function summary, php Function Summary

Checkdnsrr-performs DNS communication checks on the specified host (domain name) or IP address
Closelog-disable the system log link
Define_syslog_variables-Initialize all syslog-related variables
Dns_check_record-checkdnsrr alias
Dns_get_mx-getmxrr alias
Dns_get_record-get DNS records of the specified host
Fsockopen-open a network connection or a Unix socket connection
Gethostbyaddr-get the host name corresponding to the specified IP address
Gethostbyname-get the IP address of the specified host name
Gethostbynamel-get a series of IP addresses corresponding to the specified host name
Gethostname-get host name
Getmxrr-get the MX record corresponding to the specified host name
Getprotobyname-get the protocol number corresponding to the specified protocol name
Getprotobynumber-obtain the protocol name corresponding to the specified protocol number
Getservbyname-get the port number corresponding to the specified internet service and protocol
Getservbyport-get the internet service corresponding to the specified protocol and port number
Header_register_callback-call a header function
Header_remove-delete the previously set header
Header-send a custom http packet
Headers_list-return a series of sent (or prepared) response header information
Headers_sent-check whether the header has been sent or sent
Http_response_code-get or set the HTTP response code
Inet_ntop-converts an encapsulated network address into a dot-decimal representation.
Inet_pton-converts an IP address in dotted decimal format to an encapsulated (in_addr) representation.
Ip2long-convert an IPV4 string Internet protocol to a digital format
Long2ip-convert an IPV4 digital format to a string Internet Protocol
Openlog-enable the connection of the system logger
Pfsockopen-open a persistent network connection or Unix socket connection.
Setcookie-send cookie
Setrawcookie-send an original cookie (the cookie value is not URL encoded)
Socket_get_status-stream_get_meta_data alias
Et_set_blocking-stream_set_blocking alias
Et_set_timeout-stream_set_timeout alias
Syslog-generate a system log message

Checkdnsrr-perform DNS communication check for the specified host (domain name) or IP address closelog-disable the system log link define_syslog_vari...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.