Skip to main content

Online Exam System With Timer using PHP/PDO with Source Code


This is an Online Exam System with Timer using PHP/PDO. This system helps a certain school to provides their students an online exam platform. The system has 2 types of users which are the Admin and the Students/Examinee. The Admin user will be using the admin panel of the system which they are in charge of populating and maintaining the data of the system. They will manage the list of Courses, Exams, Exam Questionnaires, and Examinees'. The admin user can view the exam results and feedbacks of the students. The Student Users can only take the exam view their results and send feedback to the admin. Talking about the student taking the exam, the exam will be created with a limited time duration only which means every student who will start to take the exam will only allow them to finish answering that by the given duration.

I am sharing this source code for the student or self-learners who wanted to enhance their programming skills using PHP/PDO. This free source code project is only for educational purposes and not for commercial use. Continue reading to know the Features, Requirements, and Installation Instructions of this project.


Admin Panel

  • Manage Courses
  • Manage Exams'
  • Manage Exam's Questionnaire
  • Manage Examinees'
  • View Ranking By Exam
  • View Examinee Results
  • Read Feedbacks


  • Take the Exams'
  • View their Results
  • Send a Feedback

Admin Dashboard
Admin Dashboard

How to Run


  • Download and Install any local web server such as XAMPP/WAMP that can run PHP script.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code zip file.
  3. If you are using XAMPP, copy the source code folder and paste it into the XAMPP's "htdocs" directory. And if you are using WAMP, paste it into the "www" directory.
  4. Locate the SQL file known as "cee_db.sql" that is located inside the "database" directory of the source code folder.
  5. Open a web browser and browse the PHPMyAdmin. (http://localhost/phpmyadmin)
  6. Create a new database naming "cee_db".
  7. Import the SQL file into your newly created database.
  8. Open a new tab/window in your browser and browse the Online Exam System Web Application. i.e. http://localhost/CEE/ for the student side and http://localhost/CEE/adminpanel for the admin panel.

Admin Access

Username: [email protected]
Password: [email protected]

That's it! You can now explore the features and functionalities of this Online Exam System with Timer using PHP/PDO. This system has a pleasant User Interface and also user-friendly.


I hope this PHP/PDO Project Source Code will help you with what you are looking for and for your future PHP Projects.

Enjoy Coding :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byfaryaal (not verified)on Sun, 02/21/2021 - 17:33

can you tell me the username and password for students as it is not signing in for students. PLEASE
Submitted byheysayanbro (not verified)on Thu, 06/24/2021 - 02:56

It has many issues. The timer doesn't keeps a session and easily resets when refreshed. Regional Languages are not supported. After the time expires, it just shows a warning that time expired but the user can still give the exam as long as the user wants. Total examinees in overview in admin panel is static and doesn't work as dynamic with no.of examinees added.
Submitted bycan you tell m… (not verified)on Sat, 07/10/2021 - 16:07

can you tell me the username and password for students as it is not signing in for students.
Submitted byganesh sheety (not verified)on Sun, 08/29/2021 - 01:14

username and password for students as it is not signing in for students.

Add new comment