Home > PHP & Programming > Quizzes > PHP Programming Basics Practice Test: Networking with PHP
PHP Programming Basics Practice Test: Networking with PHP
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 0% Most missed: “Which of the following statements is used to add an attachment to the mail?”
PHP network functions allow us to create network-based applications. These functions can be used to establish network connections, send and receive data, and manipulate data packets over a network. They provide a comprehensive set of tools that enable us to interact with various network protocols such as HTTP, SMTP, FTP, and more. Types of PHP Network Functions are: 1. Network Connection Functions: To create network connections between two devices - e.g. fsockopen(). 2. Network Data Transfer Functions: To send and receive data over a network - e.g. fgetc().  3. Network Packet Functions:... Show more
PHP Programming Basics Practice Test: Networking with PHP
Time left 00:00
10 Questions

1. What is the default port number of HTTPs?
2. Which one of the following function is used to send an email using PHP script?
3. Which of the following statements is used to add an attachment to the mail?
4. How many configuration directives pertinent to PHP’s mail function are available?
5. Which one of the following function checks for the existence of DNS records?
6. Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?
7. Which one of the following statements can be used to establish port 80 connection with www.nachi.com?
8. Which one of the following function is used to retrieve the MX records for the domain specified by hostname?
9. Which one of the following function returns the port number of a specified service?
10. What is the full form of DNS?