Crime Reporting System In PHP With Source Code

By | February 19, 2024

Project: Crime Reporting System in PHP with source code

Please scroll down and click on the download button to download Crime Reporting System In PHP project for free

The Crime Reporting System In PHP is a simple mini project for reporting complaints of any crimes. The project contains only the users’ side. The user can either be police or victims/complainers. The purpose of reporting complaints to the police is to get help for solving the situation or crime registered.

The users as complainers can simply register the complaint with all the details required and submit it. While the police officers can log in and manage the complaints of all users. The officers can be a head, in-charge, or normal police. This project is a very simple project that makes a convenient way for the victims to register the complaints fast and easily. They don’t have to go to the police station every time for checking the updates of their case.

About System

This Crime Reporting System is in PHP, CSS, JavaScript. Talking about the features of this system, it just contains the user section. The user (victims) can submit their complaints, while the officers can manage the complaints of all users who have submitted the complaints. The design of this project is pretty simple so that the user won’t find any difficulties while working on it. For the project demo, you can have a look at the video below:

project demo

How To Run The Project?

To run this project, you must have installed a virtual server i.e XAMPP on your PC (for Windows). This Crime Reporting System is in PHP with source code is free to download, Use for educational purposes only!

After Starting Apache and MySQL in XAMPP, follow the following steps.

1st Step: Extract file
2nd Step: Copy the main project folder
3rd Step: Paste in xampp/htdocs/

4th Step: Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: Then, click on the databases tab
6th Step: Create a database naming “crime_portal” and then click on the import tab
7th Step: Click on browse file and select “crime_portal.sql” file which is inside the “Crime-Reporting-System” folder
8th Step: Click on go.

After Creating Database,

9th Step: Open a browser and go to URL “http://localhost/Crime-Reporting-System /”

DOWNLOAD CRIME REPORTING SYSTEM IN PHP WITH SOURCE CODE: CLICK THE BUTTON BELOW



Got stuck or need help customizing this System as per your need, go to our PHP tutorial or just comment down below and we will do our best to answer your question ASAP.

25 thoughts on “Crime Reporting System In PHP With Source Code

  1. Dan Johnson

    Can you modify this system and include fire outbreak complaint and also add part to request for assistance from the hospital when one is sick

    Reply
  2. jagadeesan

    there are some errors in this project .. i need your help to correct the errors …please

    Reply
  3. yogesh mishra

    please give me a proper project topice name is crime reporting system your website project does not work properaly

    Reply
  4. balaji

    I had downloaded the project online crime reporting system from your site it have some errors in assign case to police .I need your help to Solve the errors
    http://localhost/Crime-Reporting-System/Incharge_complain_details.php

    Warning: mysqli_query() expects parameter 1 to be mysqli, string given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 20

    Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 22

    Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 23

    Warning: mysqli_query() expects parameter 1 to be mysqli, string given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 26

    Reply
  5. Edith

    I had downloaded the project online crime reporting system from your site it have some errors in assign case to police .I need your help to Solve the errors
    http://localhost/Crime-Reporting-System/Incharge_complain_details.php

    Warning: mysqli_query() expects parameter 1 to be mysqli, string given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 20

    Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 22

    Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 23

    Warning: mysqli_query() expects parameter 1 to be mysqli, string given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 26

    Reply
  6. Anusha

    I need the project report of Crime Reporting System.
    Can I get it mailed please

    Reply
  7. Alex

    The page under incharge login doesn’t open when using Linux mint 20,, what could be the problem?

    Reply
  8. nuhu abdullahi

    Hello Mr. Developer. it seems that the incharge portal isn’t functioning well. Other than the database connection issues it had (which I fixed) it seems it’s impossible for the incharge to see, view, or assign a case. That is weird cause it looked like you have assigned a case before. Even in your tutorial, it ended abruptly just when you were about to test that module. The project is beautiful, but it doesn’t work fully. that is an integral part of the website, if it doesn’t work, nothing works

    Reply
  9. Mohammed Thahir

    Errors are showing up when we try to assign or view a case in Incharge portal. Down below are the errors shown in that page.

    Warning: mysqli_query() expects parameter 1 to be mysqli, string given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 20

    Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 22

    Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 23

    Warning: mysqli_query() expects parameter 1 to be mysqli, string given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 26

    Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in C:\xampp\htdocs\Crime-Reporting-System\Incharge_complain_details.php on line 88

    Reply
  10. mun

     $db_select=mysqli_select_db($conn,”crime_portal”);
    if (!$db_select) {
      error_log(“Database selection failed: ” . mysqli_error($conn));
      die(‘Internal server error’);
    }

    error solved in this line

    Reply
  11. hehe

    Bruhhh finish the project before uploading it like this

    Reply
  12. JAYANTH C B

    iam getting errors in this file incharge_compalin_details.php please give me a solution for this

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *