PHP Networking Which one of the following function returns the port number of a specified service? getservbyname() getserverbyname() getservername() getportname() getservbyname() getserverbyname() getservername() getportname() ANSWER DOWNLOAD EXAMIANS APP
PHP Networking What function can you use to create your own streams using the PHP stream wrappers and register them within PHP? stream_wrapper_register stream_wrapper_reg stream_wrapper wrapper_register stream_wrapper_register stream_wrapper_reg stream_wrapper wrapper_register ANSWER DOWNLOAD EXAMIANS APP
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_mkdir() function creates a directory on the FTP server. Both A & B ftp_makekdir() ftp_mkdirectory() ftp_mkdir() Both A & B ftp_makekdir() ftp_mkdirectory() ftp_mkdir() 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 1 and 4 Option 3 and 4 Option 1 and 3 Option 2 and 4 Option 1 and 4 Option 3 and 4 Option 1 and 3 Option 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which one of the following function checks for the existence of DNS records? checkdns() checkdnsrr() checkdnsr() checkdnsa() checkdns() checkdnsrr() checkdnsr() checkdnsa() ANSWER DOWNLOAD EXAMIANS APP