Chapter 1. CodeIgniter Basics

In this chapter, we will cover:

  • Downloading and installing CodeIgniter
  • Basic configuration options
  • Managing CodeIgniter on different environments
  • Managing database settings in different environments
  • Securing system files
  • Removing index.php from the address bar using .htaccess
  • Installing and using Sparks

Introduction

CodeIgniter is an easy to use, easy to set up PHP-based framework which you can use to build pretty much any web-based application you can think of. There is a little bit of configuration needed before we can start to use CodeIgniter; however, this chapter will walk you through downloading, installing, and understanding the basic configuration of CodeIgniter to help you quickly get up and running.

Get CodeIgniter 2 Cookbook 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.