O'Reilly logo

PHP 5 Recipes: A Problem-Solution Approach by Jon Stephens, Frank M. Kromann, Nathan A. Good, Lee Babin

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

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