If you need to collect visitor’s IP address or browser information you can easily do that using CodeIgniter “user_agent” library. The User Agent Class provides functions that help identify information about the browser, mobile device, or robot visiting your site. In addition you
Model–View–Controller (MVC) is an architecture that separates the representation of information from the user’s interaction with it. The model consists of application data and business rules, and the controller mediates input, converting it to commands for the model or view.
If you are familiar with php, a good practice is to use a php framework to build your applications. One choice is CodeIgniter. CodeIgniter is based on the Model-View-Controller development pattern. MVC is a software approach that separates application logic