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 ...
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 ...
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 Form Helper file contains functions that assist in working with forms.
You can add your own config items to this file, or if you prefer to keep your configuration items separate (assuming you even need config items), simply create your own file and save it in config ...
It pre-processes global input data for security. It provides some helper methods for fetching input data and pre-processing it.
The HTML Helper file contains functions that assist in working with HTML. Additionally, in order to add attributes to the heading tag such as HTML classes, ids or inline styles, a third parameter is ...
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 ...
The URI Class provides methods that help you retrieve information from your URI strings. If you use URI routing, you can also retrieve information about the re-routed segments. The optional second ...
The following page contains example code showing how the database class is used. For complete details please read the individual pages describing each function.
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 ...