PHP Networking What will the following script do?echo getservbyname ('ftp', 'tcp'); A list of the FTP servers on the local network The address of the FTP server called “tcp” A list of the ports associated with all services except FTP The port associated with the TCP service called “FTP” A list of the FTP servers on the local network The address of the FTP server called “tcp” A list of the ports associated with all services except FTP The port associated with the TCP service called “FTP” ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which one of the following statements can be used to establish port 80 connection with www.examians.com? sockopen(80,”www.examians.com”); fsockopen(80,”www.examians.com”); fsockopen(“www.examians.com”, 80); sockopen(“www.examians.com”, 80); sockopen(80,”www.examians.com”); fsockopen(80,”www.examians.com”); fsockopen(“www.examians.com”, 80); sockopen(“www.examians.com”, 80); ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which one of the following function is used to send a e-mail using PHP script? send_mail() mailrr() mail() mail_send() send_mail() mailrr() mail() mail_send() ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which of the following network transports doesn’t PHP support? tcp udg pdc udp unix tcp udg pdc udp unix ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain? dns_record() dns_get_record() dnsrr_record() dnsrr_get_record() dns_record() dns_get_record() dnsrr_record() dnsrr_get_record() ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which of the following operations cannot be performed using the standard ftp:// stream wrapper?1. Reading a file2. Writing a file3. Establishing a stateful connection and changing directories interactively4. Creating a new directory Option 2 and 4 Option 3 and 4 Option 1 and 4 Option 1 and 3 Option 2 and 4 Option 3 and 4 Option 1 and 4 Option 1 and 3 ANSWER DOWNLOAD EXAMIANS APP