PHP Networking Which of the following statements is used to add an attachment to the mail? $mimemail->addAttachment(‘attachment.pdf’); $mimemail=>addAttachment(‘attachment.pdf’); $mimemail=>attachment(‘attachment.pdf’); $mimemail->attachment(‘attachment.pdf’); $mimemail->addAttachment(‘attachment.pdf’); $mimemail=>addAttachment(‘attachment.pdf’); $mimemail=>attachment(‘attachment.pdf’); $mimemail->attachment(‘attachment.pdf’); ANSWER DOWNLOAD EXAMIANS APP
PHP Networking The ftp_size() function returns the size of a specified file on the FTP server. ftp_size() ftp_amount() ftp_file_size() get_ftp_size() ftp_size() ftp_amount() ftp_file_size() get_ftp_size() 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(“www.examians.com”, 80); sockopen(“www.examians.com”, 80); fsockopen(80,”www.examians.com”); sockopen(80,”www.examians.com”); fsockopen(“www.examians.com”, 80); sockopen(“www.examians.com”, 80); fsockopen(80,”www.examians.com”); ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which one of the following function checks for the existence of DNS records? checkdnsa() checkdns() checkdnsrr() checkdnsr() checkdnsa() checkdns() checkdnsrr() checkdnsr() ANSWER DOWNLOAD EXAMIANS APP
PHP Networking What will the following script do?echo getservbyname ('ftp', 'tcp'); A list of the FTP servers on the local network The port associated with the TCP service called “FTP” A list of the ports associated with all services except FTP The address of the FTP server called “tcp” A list of the FTP servers on the local network The port associated with the TCP service called “FTP” A list of the ports associated with all services except FTP The address of the FTP server called “tcp” ANSWER DOWNLOAD EXAMIANS APP
PHP Networking How many configuration directives pertinent to PHP’s mail function are available? 6 4 7 5 6 4 7 5 ANSWER DOWNLOAD EXAMIANS APP