ExamVeda
Login
Home
1
What is the full form of DNS?
Discuss
Answer & Solution
Answer: Option D
Solution:
The Domain Name System(DNS) is what allows you to use domain names(e.g., example.com) in place of the corresponding IP address, such as 192.0.10.10.
2
Which one of the following function checks for the existence of DNS records?
Discuss
Answer & Solution
Answer: Option C
Solution:
DNS records are checked based on the supplied host value and optional DNS resource record type, returning TRUE if any records are located and FALSE otherwise.
3
Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
4
Which one of the following function is used to retrieve the MX records for the domain specified by hostname?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
5
What is the default port number of HTTP’s?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
6
Which one of the following function returns the port number of a specified service?
Discuss
Answer & Solution
Answer: Option D
Solution:
Example- getservbyname(“http”,”tcp”) will return 80.
7
Which one of the following statements can be used to establish port 80 connection with www.examveda.com?
Discuss
Answer & Solution
Answer: Option A
Solution:
The fsockopen() function establishes a connection to the resource designated by target on port.
8
Which one of the following function is used to send a e-mail using PHP script?
Discuss
Answer & Solution
Answer: Option D
Solution:
mail(string to, string subject, string message,) using this you can send any mail.
9
How many configuration directives pertinent to PHP’s mail function are available?
Discuss
Answer & Solution
Answer: Option B
Solution:
They are- SMTP, sendmail_from, sendmail_path, smtp_port, mail.force_extra_parameters.
10
Which of the following statements is used to add an attachment to the mail?
Discuss
Answer & Solution
Answer: Option C
Solution:
Call the Mail_Mime object’s addAttachment() method passing in the attachment name and extension.