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 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 ...
The Language Class provides functions to retrieve language files and lines of text for purposes of internationalization. In your CodeIgniter system folder you'll find ...
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 Cart Class permits items to be added to a session that stays active while a user is browsing your site. These items can be retrieved and displayed in a standard "shopping cart" format, allowing ...
CodeIgniter’s FTP Class permits files to be transferred to a remote server. Remote files can also be moved, renamed, and deleted. The FTP class also includes a “mirroring” function that permits an ...
The Cart Class permits items to be added to a session that stays active while a user is browsing your site. These items can be retrieved and displayed in a standard “shopping cart” format, allowing ...
CodeIgniter comes with a Cross Site Scripting Hack prevention filter which can either run automatically to filter all POST and COOKIE data that is encountered, or you can run it on a per item basis.
Sending email is not only simple, but you can configure it on the fly or set your preferences in a config file. Here is a basic example demonstrating how you might send email. Note: This example ...
Migrations are a convenient way for you to alter your database in a structured and organized manner. You could edit fragments of SQL by hand but you would then be responsible for telling other ...
In addition, you may create your own, custom session drivers based on other kinds of storage, while still taking advantage of the features of the Session class. Sessions will typically run globally ...
The Output class is a core class with one main function: To send the finalized web page to the requesting browser. It is also responsible for caching your web pages, if you use that feature. Note This ...