PHP Networking Which one of the following statements can be used to establish port 80 connection with www.examians.com? sockopen(“www.examians.com”, 80); sockopen(80,”www.examians.com”); fsockopen(“www.examians.com”, 80); fsockopen(80,”www.examians.com”); sockopen(“www.examians.com”, 80); sockopen(80,”www.examians.com”); fsockopen(“www.examians.com”, 80); fsockopen(80,”www.examians.com”); ANSWER DOWNLOAD EXAMIANS APP
PHP Networking The FTP functions are used to ....... files from file servers. Open All of above Upload Download Close Open All of above Upload Download Close 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 wrapper_register stream_wrapper_register stream_wrapper_reg stream_wrapper wrapper_register stream_wrapper_register stream_wrapper_reg 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=>attachment(‘attachment.pdf’); $mimemail->attachment(‘attachment.pdf’); $mimemail=>addAttachment(‘attachment.pdf’); $mimemail->addAttachment(‘attachment.pdf’); $mimemail=>attachment(‘attachment.pdf’); $mimemail->attachment(‘attachment.pdf’); $mimemail=>addAttachment(‘attachment.pdf’); ANSWER DOWNLOAD EXAMIANS APP
PHP Networking The ftp_mkdir() function creates a directory on the FTP server. Both A & B ftp_mkdirectory() ftp_makekdir() ftp_mkdir() Both A & B ftp_mkdirectory() ftp_makekdir() ftp_mkdir() ANSWER DOWNLOAD EXAMIANS APP
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_get_timeout stream_fget_timeout stream_fset_timeout stream_set_timeout stream_get_timeout stream_fget_timeout stream_fset_timeout ANSWER DOWNLOAD EXAMIANS APP