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” A list of the ports associated with all services except FTP The port associated with the TCP service called “FTP” A list of the FTP servers on the local network The address of the FTP server called “tcp” A list of the ports associated with all services except FTP The port associated with the TCP service called “FTP” ANSWER DOWNLOAD EXAMIANS APP
PHP Networking What is the full form of DNS? Domain Network System Domain Name System Digital Name Systmem Digital Network System Domain Network System Domain Name System Digital Name Systmem Digital Network System ANSWER DOWNLOAD EXAMIANS APP
PHP Networking What is the default port number of HTTP’s? 100 70 80 90 100 70 80 90 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=>attachment(‘attachment.pdf’); $mimemail->addAttachment(‘attachment.pdf’); $mimemail=>addAttachment(‘attachment.pdf’); $mimemail->attachment(‘attachment.pdf’); $mimemail=>attachment(‘attachment.pdf’); $mimemail->addAttachment(‘attachment.pdf’); $mimemail=>addAttachment(‘attachment.pdf’); ANSWER DOWNLOAD EXAMIANS APP
PHP Networking The ftp_mkdir() function creates a directory on the FTP server. ftp_mkdirectory() ftp_mkdir() Both A & B ftp_makekdir() ftp_mkdirectory() ftp_mkdir() Both A & B ftp_makekdir() ANSWER DOWNLOAD EXAMIANS APP
PHP Networking Which one of the following statements can be used to establish port 80 connection with www.examians.com? sockopen(80,”www.examians.com”); fsockopen(80,”www.examians.com”); fsockopen(“www.examians.com”, 80); sockopen(“www.examians.com”, 80); sockopen(80,”www.examians.com”); fsockopen(80,”www.examians.com”); fsockopen(“www.examians.com”, 80); sockopen(“www.examians.com”, 80); ANSWER DOWNLOAD EXAMIANS APP