Today I am going to show/Teach you how to modify/Tap into the inner working of your codeigniter framework. When Codeigniter Runs it follows a specific Execution process Described in a pretty good detail below in the Diagram.
The upper diagram Shows the flow of data through the whole System in Codeigniter.
1. At first glance the Index.php serves as a front controller and contain all the basic resources which are required by Codeigniter to run properly.
2. After that the Router Examines the HTTP request in order to determine what action to take on this incomming request.
3. If the exists the cache file then the router send it directly to the browser which requested the content ,getting around the normal Execution of the system.
4. Here comes Security the most Important aspect, before loading the controller the HTTP request and the data submitted by any user is…