PHP Networking What will the following script do?echo getservbyname ('ftp', 'tcp'); A list of the ports associated with all services except FTP A list of the FTP servers on the local network The port associated with the TCP service called “FTP” The address of the FTP server called “tcp” A list of the ports associated with all services except FTP A list of the FTP servers on the local network The port associated with the TCP service called “FTP” The address of the FTP server called “tcp” ANSWER DOWNLOAD EXAMIANS APP
PHP Networking The ftp_mkdir() function creates a directory on the FTP server. ftp_mkdirectory() ftp_makekdir() Both A & B ftp_mkdir() ftp_mkdirectory() ftp_makekdir() Both A & B ftp_mkdir() ANSWER DOWNLOAD EXAMIANS APP
PHP Networking What is the default port number of HTTP’s? 90 80 70 100 90 80 70 100 ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which one of the following function returns the port number of a specified service? getportname() getservbyname() getservername() getserverbyname() getportname() getservbyname() getservername() getserverbyname() 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_reg stream_wrapper stream_wrapper_register wrapper_register stream_wrapper_reg stream_wrapper stream_wrapper_register wrapper_register 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 1 and 3 Option 2 and 4 Option 3 and 4 Option 1 and 4 Option 1 and 3 Option 2 and 4 Option 3 and 4 ANSWER DOWNLOAD EXAMIANS APP