CodeIgniter gives you access to a Query Builder class. This pattern allows information to be retrieved, inserted, and updated in your database with minimal scripting. In some cases only one or two ...
Normally the second segment of the URL is reserved for the method name, but in the example above it instead has a product ID. To overcome this, CodeIgniter allows you ...
The “auto connect” feature will load and instantiate the database class with every page load. To enable “auto connecting”, add the word database to the library array, as indicated in the following ...
It pre-processes global input data for security. It provides some helper methods for fetching input data and pre-processing it.
CodeIgniter comes with a Cross Site Scripting prevention filter, which looks for commonly used techniques to trigger JavaScript or other types of code that attempt to hijack cookies or do other ...
CodeIgniter provides a comprehensive form validation and data prepping class that helps minimize the amount of code you'll write. Before explaining CodeIgniter's approach to data validation, let's ...
CodeIgniter’s Hooks feature provides a means to tap into and modify the inner workings of the framework without hacking the core files. When CodeIgniter runs it follows a specific execution process, ...
CodeIgniter’s Pagination class is very easy to use, and it is 100% customizable, either dynamically or via stored preferences.
The Form Helper file contains functions that assist in working with forms.
An upload form is displayed, allowing a user to select a file and upload it. When the form is submitted, the file is uploaded to the destination you specify. Along the way, the file is validated to ...
The Encryption Library provides two-way data encryption. To do so in a cryptographically secure way, it utilizes PHP extensions that are unfortunately not always available on all systems. You must ...
This helper is loaded using the following code: Additionally, an associative array can be passed to the img() function for complete control over all attributes and values. If an alt attribute is not ...