Chapter 9. Using CI to Communicate

The main strength of the Internet is its ability to communicate. In this chapter, we will look at three ways in which CI makes communication easy. First, we'll add to our testing toolkit by using CI's FTP class, to access remote files directly. Then, we'll use the email class to make our site automatically send emails when certain conditions are met.

Lastly, we'll venture into Web 2.0 territory—using XML-RPC (XML Remote Procedure Call) to create a private "web service" that allows our remote sites to take action, and return information on a request from our test site. We will also take a look at a twitter library that will help us stay in contact with our clients at every moment. Don't miss it!

Using the FTP class ...

Get CodeIgniter 1.7 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.