PHP Network operation function Summary, PHP function Summary _php Tutorial

Source: Internet
Author: User
Tags aliases response code syslog mx record

PHP Network operation function Summary, PHP function summary


checkdnsrr-DNS traffic checks for the specified host (domain name) or IP address
closelog-Turn off System log links
define_syslog_variables-Initialize all syslog-related variables
DNS_CHECK_RECORD-CHECKDNSRR aliases
DNS_GET_MX-GETMXRR aliases
dns_get_record-obtaining DNS records for a specified host
fsockopen-open a network connection or a UNIX socket connection
Gethostbyaddr-gets the host name for the specified IP address
gethostbyname-gets the IP address of the specified host name
Gethostbynamel-gets a series of IP addresses for the specified host name
gethostname-Get host Name
Getmxrr-gets the MX record for the specified host name
Getprotobyname-gets the protocol number that corresponds to the specified protocol name
Getprotobynumber-gets the protocol name that corresponds to the specified protocol number
Getservbyname-gets the port number that corresponds to the specified Internet service and protocol
Getservbyport-gets the specified protocol and port number corresponding to the Internet service
header_register_callback-Call a head function
header_remove-Delete the previously set header
header-sending a custom HTTP message
Headers_list-returns a series of response header messages sent (or ready to be sent)
headers_sent-Check if the head has been sent or sent to
Http_response_code-Gets or sets the HTTP response code
Inet_ntop-translates a encapsulated network address into dotted decimal notation
inet_pton-converts a dotted-decimal IP address into a encapsulated (IN_ADDR) representation
ip2long-converts a IPV4 string Internet protocol into a digital format
long2ip-converts a IPV4 number format into a string Internet protocol
openlog-Open the connection to the system logger
pfsockopen-Open a persistent network connection or a UNIX socket connection.
setcookie-Sending Cookies
setrawcookie-Send a raw cookie (the cookie value is not URL encoded)
Socket_get_status-stream_get_meta_data aliases
Socket_set_blocking-stream_set_blocking aliases
Socket_set_timeout-stream_set_timeout aliases
syslog-Generating a syslog message

http://www.bkjia.com/PHPjc/1000250.html www.bkjia.com true http://www.bkjia.com/PHPjc/1000250.html techarticle PHP Network operation function Summary, PHP function summary checkdnsrr-to the specified host (domain name) or IP address to do DNS traffic check closelog-shut down 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.