What is the full form of DNS?
A. Digital Network System
B. Domain Network System
C. Digital Name Systmem
D. Domain Name System
Select an option to see the answer and solution.
Which one of the following function checks for the existence of DNS records?
A. checkdns()
B. checkdnsr()
C. checkdnsrr()
D. checkdnsa()
Select an option to see the answer and solution.
Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?
A. dns_get_record()
B. dns_record()
C. dnsrr_get_record()
D. dnsrr_record()
Select an option to see the answer and solution.
Which one of the following function is used to retrieve the MX records for the domain specified by hostname?
A. getmx()
B. retrieve_mx()
C. getmxrr()
D. retrieve_mxrr()
Select an option to see the answer and solution.
What is the default port number of HTTP’s?
Select an option to see the answer and solution.
Which one of the following function returns the port number of a specified service?
A. getportname()
B. getservername()
C. getserverbyname()
D. getservbyname()
Select an option to see the answer and solution.
Which one of the following statements can be used to establish port 80 connection with www.examveda.com?
A. fsockopen(“www.examveda.com”, 80);
B. sockopen(80,”www.examveda.com”);
C. fsockopen(80,”www.examveda.com”);
D. sockopen(“www.examveda.com”, 80);
Select an option to see the answer and solution.
Which one of the following function is used to send a e-mail using PHP script?
A. mail_send()
B. send_mail()
C. mailrr()
D. mail()
Select an option to see the answer and solution.
How many configuration directives pertinent to PHP’s mail function are available?
Select an option to see the answer and solution.
Which of the following statements is used to add an attachment to the mail?
A. $mimemail->attachment(‘attachment.pdf’);
B. $mimemail=>attachment(‘attachment.pdf’);
C. $mimemail->addAttachment(‘attachment.pdf’);
D. $mimemail=>addAttachment(‘attachment.pdf’);
Select an option to see the answer and solution.
What function can you use to create your own streams using the PHP stream wrappers and register them within PHP?
A. wrapper_register
B. stream_wrapper
C. stream_wrapper_register
D. stream_wrapper_reg
Select an option to see the answer and solution.
The windows version of PHP has built-in support for the FTP extension
Select an option to see the answer and solution.
The ftp_mkdir() function creates a directory on the FTP server.
A. ftp_mkdir()
B. ftp_makekdir()
C. ftp_mkdirectory()
D. Both A & B
Select an option to see the answer and solution.
Which of the following operations cannot be performed using the standard ftp:// stream wrapper?
1. Reading a file
2. Writing a file
3. Establishing a stateful connection and changing directories interactively
4. Creating a new directory
A. Option 3 and 4
B. Option 1 and 3
C. Option 2 and 4
D. Option 1 and 4
Select an option to see the answer and solution.
What will the following script do?
<?php
echo getservbyname ( 'ftp', 'tcp') ;
?>
A. A list of the FTP servers on the local network
B. The address of the FTP server called “tcp”
C. The port associated with the TCP service called “FTP”
D. A list of the ports associated with all services except FTP
Select an option to see the answer and solution.
The ftp_size() function returns the size of a specified file on the FTP server.
A. get_ftp_size()
B. ftp_file_size()
C. ftp_size()
D. ftp_amount()
Select an option to see the answer and solution.
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?
A. stream_get_timeout
B. stream_set_timeout
C. stream_fset_timeout
D. stream_fget_timeout
Select an option to see the answer and solution.
Which of the following network transports doesn’t PHP support?
A. tcp
B. udp
C. udg
D. pdc
E. unix
Select an option to see the answer and solution.
The FTP functions are used to ....... files from file servers.
A. Open
B. Download
C. Close
D. Upload
E. All of above
Select an option to see the answer and solution.
Which of the following are valid PHP stream transports?
1. http
2. STDIO
3. ftp
4. STDOUT
5. stream
A. Option 3 and 5
B. Option 1 and 4
C. Option 4 and 5
D. Option 2 and 5
Select an option to see the answer and solution.