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

Join The Discussion