Chapter 21. Network I/O

In Chapter 20, “Working with the File System,” I introduced the file system access functions, many of which allow you to access data from remote resources such as Web servers, FTP servers, and more. Although powerful, PHP offers many other tools to use when you're working with network connections. In this chapter, we'll introduce working with network technologies such as DNS records, sockets, and more.

DNS/Reverse DNS Lookups

When you're working online, it is almost certain that at some point you'll need to work with DNS records. The topic of DNS, or the domain name service, is a complex one well beyond the scope of this book. However, in ...

Get PHP 5 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.