CHAPTER 16Communicating with Internet Services
When you use PHP to build dynamic web applications, you need to communicate with other Internet services. This can be as simple as sending an e-mail with the content of a user-submitted form or as advanced as a full-featured mail client that allows the user to send and receive e-mails. PHP has several ways of communicating with Internet services. The most basic form is socket communication, where all the protocol features must be implemented in the PHP script. More advanced features for reading remote files are implemented as wrapper functions for the normal file handling functions, and some services are implemented with a function set that makes it easy to write complex applications without having ...
Get PHP 5 Recipes: A Problem-Solution Approach 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.