August 2003
Intermediate to advanced
1104 pages
19h 27m
English
The functions in this section offer general and simplified access to the Internet. Some of these functions talk to specific network services or return information about network services.
You may use checkdnsrr as an alias to dns_check_record.
The dns_check_record function (Listing 10.1) checks DNS records for a host. The type argument defines the type of records for which to search. Valid types are listed in Table 10.1. If a type is not specified, dns_check_record checks for MX records. You may wish to read the man page for named, the Internet domain name server daemon.
<?php if(dns_check_record("php.net", "MX")) { print("php.net ... |
Read now
Unlock full access