O'Reilly logo

CodeIgniter for Rapid PHP Application Development by David Upton

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 9. Using CI to Communicate

The main strength of the Internet is its ability to communicate. This chapter looks at three ways in which CI makes communication easier.

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 email us when certain conditions are met.

Lastly, we'll venture into Web 2.0 territory using XML-RPC to create a private 'web service' that allows our remote sites to take action and return information on a request form our testing site.

Using the FTP Class to Test Remote Files

File Transfer Protocol (FTP) is a method of transferring files over the Internet. It's normally used to move files backwards and forwards to your ...

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