What will the following script do?
<?php
echo getservbyname ('ftp', 'tcp');
?>
<?php
echo getservbyname ('ftp', 'tcp');
?>
A. A list of the FTP servers on the local network
B. The address of the FTP server called “tcp”
C. The port associated with the TCP service called “FTP”
D. A list of the ports associated with all services except FTP
Answer: Option C
Related Questions on PHP Networking
A. Digital Network System
B. Domain Network System
C. Digital Name Systmem
D. Domain Name System
Which one of the following function checks for the existence of DNS records?
A. checkdns()
B. checkdnsr()
C. checkdnsrr()
D. checkdnsa()
A. dns_get_record()
B. dns_record()
C. dnsrr_get_record()
D. dnsrr_record()
A. getmx()
B. retrieve_mx()
C. getmxrr()
D. retrieve_mxrr()
Join The Discussion