Chapter 7. Networking with PHP
All of the examples in the chapters up to this point have dealt with building larger-scale Web applications. PHP has been used to interact with databases and file structures, send emails, provide a secure means of registering users, handle e-commerce, and more. Although these different PHP programs have been very utilitarian, they still lack a certain dynamism that PHP has to offer.
Not only can PHP write to text files and retrieve information from a database, it can also interact with other Web sites, secretly learn more about the current user, send complex emails and even FTP files. In this chapter, I'll discuss and demonstrate a couple of network-related PHP functions and capabilities. In the next chapter, PHP ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access