PHP Networking Which one of the following statements can be used to establish port 80 connection with www.examians.com? fsockopen(80,”www.examians.com”); fsockopen(“www.examians.com”, 80); sockopen(80,”www.examians.com”); sockopen(“www.examians.com”, 80); fsockopen(80,”www.examians.com”); fsockopen(“www.examians.com”, 80); sockopen(80,”www.examians.com”); sockopen(“www.examians.com”, 80); ANSWER DOWNLOAD EXAMIANS APP
PHP Networking The windows version of PHP has built-in support for the FTP extension False True False True 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? wrapper_register stream_wrapper stream_wrapper_reg stream_wrapper_register wrapper_register stream_wrapper stream_wrapper_reg stream_wrapper_register 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 are valid PHP stream transports?1. http2. STDIO3. ftp4. STDOUT5. stream Option 2 and 5 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 ANSWER DOWNLOAD EXAMIANS APP
PHP Networking What is the default port number of HTTP’s? 100 70 90 80 100 70 90 80 ANSWER DOWNLOAD EXAMIANS APP