PHP Networking Which one of the following function returns the port number of a specified service? getserverbyname() getservername() getportname() getservbyname() getserverbyname() getservername() getportname() getservbyname() ANSWER DOWNLOAD EXAMIANS APP
PHP Networking How many configuration directives pertinent to PHP’s mail function are available? 6 7 4 5 6 7 4 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which of the following are valid PHP stream transports?1. http2. STDIO3. ftp4. STDOUT5. stream Option 3 and 5 Option 1 and 4 Option 4 and 5 Option 2 and 5 Option 3 and 5 Option 1 and 4 Option 4 and 5 Option 2 and 5 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 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 What is the default port number of HTTP’s? 100 80 90 70 100 80 90 70 ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which of the following statements is used to add an attachment to the mail? $mimemail=>attachment(‘attachment.pdf’); $mimemail->addAttachment(‘attachment.pdf’); $mimemail->attachment(‘attachment.pdf’); $mimemail=>addAttachment(‘attachment.pdf’); $mimemail=>attachment(‘attachment.pdf’); $mimemail->addAttachment(‘attachment.pdf’); $mimemail->attachment(‘attachment.pdf’); $mimemail=>addAttachment(‘attachment.pdf’); ANSWER DOWNLOAD EXAMIANS APP