Criminal Records Management System using Codeigniter
- Register Police
- Add Criminals
- Delete Criminals
- View added Criminals and Police
.
application/
├── config
│ ├── autoload.php # remember to modify models if adding any new models, in last line
│ ├── config.php # Base url and index page
│ ├── routes.php
│ └── databse.php # username, hostname, database name
├── controllers
│ ├── Pages.php # localhost/(:any)
│ ├── Police.php # Police class --> login, register, index, logout
│ └── Criminal.php # Criminal class --> create, delete, index
├── models
│ ├── Police_model.php # Police_model class --> get, register, login
│ └── Criminal_model.php # Criminal_model class --> get, create, delete
├── views
│ ├── templates/ # header, footer
│ ├── pages/ # home, about
│ ├── police/ # register, login, index
│ └── criminal/ # create, index
- Download XAMPP from here
- Download CodeIgniter v3 from here, Extract the zip inside
htdocs
folder in xampp
- Clone the repo
git clone https://github.com/ganadhish1999/CodeIgniterCriminalManagementSystem.git
- Start the XAMPP server (Apache and MySql)
- Go to
localhost/phpmyadmin
and create new database namedcriminal_management
- Run these queries to create tables
- Go to
localhost/CodeIgniterCrimeManagementSystem/
Registration | Login | Add Criminals |