CHAPTER 24

Images

CodeIgniter: Extending

CodeIgniter includes a wide assortment of libraries that cater to details such as file uploads, image manipulation, and e-mail sending. Let us see how to use these, as well as extend CodeIgniter to use third-party libraries.

Goals

  • We need to learn how to use built-in CodeIgniter libraries.
  • We need to learn how to include our own (third-party) libraries in our CodeIgniter applications.
  • We need to learn how to extend core CodeIgniter classes.

File Uploads

We will begin by looking at how to use one of the built-in CodeIgniter libraries for file uploads. Our original sample application allows the user to upload ...

Get Pro PHP MVC 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.