O'Reilly logo

PHP 5 Unleashed by John Coggeshall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required