Which one of the following statements can be used to establish port 80 connection with www.examians.com? fsockopen(“www.examians.com”, 80); fsockopen(80,”www.examians.com”); sockopen(“www.examians.com”, 80); sockopen(80,”www.examians.com”); TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following network transports doesn’t PHP support? udp tcp unix udg pdc TRUE ANSWER : ? YOUR ANSWER : ?
What will the following script do?<br/>echo getservbyname ('ftp', 'tcp'); 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 TRUE ANSWER : ? YOUR ANSWER : ?
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_get_timeout stream_fget_timeout stream_fset_timeout stream_set_timeout TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function is used to retrieve the MX records for the domain specified by hostname? retrieve_mx() getmx() getmxrr() retrieve_mxrr() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function returns the port number of a specified service? getserverbyname() getportname() getservername() getservbyname() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function is used to send a e-mail using PHP script? mail() mailrr() mail_send() send_mail() TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following function checks for the existence of DNS records? checkdnsa() checkdnsrr() checkdnsr() checkdns() TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following are valid PHP stream transports?<br/>1. http<br/>2. STDIO<br/>3. ftp<br/>4. STDOUT<br/>5. stream Option 3 and 5 Option 4 and 5 Option 2 and 5 Option 1 and 4 TRUE ANSWER : ? YOUR ANSWER : ?
How many configuration directives pertinent to PHP’s mail function are available? 5 4 7 6 TRUE ANSWER : ? YOUR ANSWER : ?