August 2000
Intermediate to advanced
800 pages
13h 15m
English
The network I/O functions send information directly over the Internet Protocol, or they fetch information about Internet hosts.
The checkdnsrr function checks DNS records for a host. The type argument defines the type of records for which to search. Valid types are listed in Table 8.16.
If type is not specified, checkdnsrr checks for MX records. You may wish to read the man page for named, the Internet domain name server daemon.
<?
if(checkdnsrr("clearink.com", "MX"))
{
print("clearink.com is a mail exchanger");
}
?>
The fsockopen begins a network connection as a file stream, ...
Read now
Unlock full access