PHP Networking When dealing with timeout values in sockets, the connection timeout can be changed independently of the read/write time out. Which function must be used for this purpose? stream_set_timeout stream_fset_timeout stream_fget_timeout stream_get_timeout stream_set_timeout stream_fset_timeout stream_fget_timeout stream_get_timeout 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” The port associated with the TCP service called “FTP” A list of the ports associated with all services except FTP A list of the FTP servers on the local network The address of the FTP server called “tcp” The port associated with the TCP service called “FTP” A list of the ports associated with all services except FTP 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
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 wrapper_register stream_wrapper_register stream_wrapper stream_wrapper_reg wrapper_register stream_wrapper_register stream_wrapper ANSWER DOWNLOAD EXAMIANS APP
PHP Networking What is the default port number of HTTP’s? 90 70 100 80 90 70 100 80 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 2 and 4 Option 1 and 3 Option 3 and 4 Option 1 and 4 Option 2 and 4 Option 1 and 3 Option 3 and 4 ANSWER DOWNLOAD EXAMIANS APP