A fully functional project based on Online Examination System which uses PHP Language with CodeIgniter Web Framework. Following PHP CodeIgniter project contains all the essential features which can be in use for the final-year IT students for their college projects. It has a number of features that will allow users to manage and attend online examinations. This system as well as the web application’s concept is all clear. It’s the same as real-life scenarios and well-implemented on it. To download free online exam system project in PHP MySQL CodeIgniter Framework with source code files, please scroll down to the bottom of this post for the Download button.
About Online Examination System PHP MySQL Project
In particular, this Online Exam System project in PHP CodeIgniter focuses mainly on keeping track of questionnaires as well as exam records. Also, the system displays all the categories with their respective details. In addition, the system allows managing students, teachers, and examination schedules. Evidently, this project contains an admin panel with a student and teacher panel. In an overview of this web application, an administrator has full control over the system. He/she can manage users, classes, departments, courses, question sets, and their relations. Here, each and every section has its own respective details such as name and other important details. However, the admin has the right to set a student/teacher’s account. By default, the system automatically sets these users’ login details as their ID.
Even though an admin can access and manage all the questionnaires available in the system, the system restricts viewing all under the teacher’s panel. To be precise, a teacher can only view his/her subject’s question sets. Whereas, the administrator can view each and every question set with a filter option based upon the available courses. Another thing is that the administrator can list out every student’s examination result. Here, the system allows downloading students’ report cards. Besides, the admin can oversee record highlights and clear up the system’s record with a single click.
Teacher’s Panel
On one hand, the teacher has some important roles in maintaining proper flow within the system. This particular user can conduct examinations, set question papers, and check his/her student’s results. The very first step of conducting an examination is that teacher requires to set a bundle of question sets for a certain course. For this, the user has to provide questions, five options, select the correct answer, and set question weight. And now, here comes the main thing of this project; Exam management. Likewise, the user has to provide various details such as examination name, number of questions, date & time with question pattern. Here, the system offers two types of patterns: Random and Sort. After completion, the system automatically generates a token code which is a mandatory part for the students in order to join their online examinations.
Examination Token, Examination Result
With it, the system provides a token for every examination record. This particular token code must be shared with the students which later works as a kind of verification during their examination period. Also, the teacher account can have a detailed report on his/her student’s results. The result shows highest/lowest marks on each with average scores and other important details. Moreover, the teacher has the right to manage examinations anytime. In fact, this particular feature is only set for teachers; meaning even the administrator does not have any control over the examination management system. All the duties and rules are to be handled by the teacher’s account.
Student’s Panel
On the other hand, comes the main feature of this project. The main role of a student’s account is to attend online examinations. Nevertheless, the student can proceed with attending available examinations. In fact, all the examinations are formed as Multiple Choice Questions. Here, the student needs to provide a token code for the particular examination. Also, the student should make sure about the examination date and time. Else, the system won’t allow entering and attending examinations. At last, the system generates the student’s result under the Result section where he/she can easily list out or even download it. In addition, the system strictly restricts users to attend examinations multiple times.
Last but not least, a clean and simple dashboard is presented with various color combinations for greater user experience while using this Online Exam Management System Project in PHP MySQL CodeIgniter. For its UI elements, a free open-source CSS framework; Bootstrap is on board with some Vanilla CSS too. Presenting a new Online Exam System Project in PHP MySQL which includes an admin panel that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.
Available Features:
- Teacher Panel
- Student Panel
- Administrator Panel
- Manage Course, Department, Class
- Student Management
- Teacher Management
- Set Relations
- Set Questionnaires
- Conduct and Manage Examinations
- Examination Token Code
- Attend Online Exam
- List Student’s Result
- Download Result (PDF)
Project Name: | Online Examination System PHP |
Language/s Used: | PHP with CodeIgniter Web Framework |
PHP version (Recommended): | 7.4 |
Database: | MySQL |
Type: | Web Application |
Developer: | Muhammad Ghifari Arfananda |
Updates: | 0 |
Instructions: How to Run?
- After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
- There you’ll find a folder naming “htdocs”.
- Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
- Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
- Then, go to URL “http://localhost/phpmyadmin“.
- Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
- Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
- After setting up all these, go to URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“
- All the login details are provided inside the project folder, check that out and enter in order to use it.
And there you have it, a full setup of the Online Examination System project in PHP CodeIgniter. For this particular PHP project, PHP Version 7.4 or Newer is required because the project does not operate with the oldest PHP version. So, users with the oldest PHP version (older than 7) might face various problems while operating it. As a result, you’ll need to manage your PHP version (only if you’re using the old version) at the moment. Also, Download Free Online Exam System Project in PHP MySQL CodeIgniter Source Code. So, this online examination system PHP project is a fully functional project for all the intermediate levels that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.
Free Download Online Examination System Project in PHP MySQL CodeIgniter with Source Code:
Click the Download Button Below to Start Downloading
Note: Only for Educational Purpose
Awesome job, this is a great achievement so far.
project is not workng and while executing the project errors coming and also done corrections and project not working
Please mention your issue in brief! Before that, make sure of these mentioned factors that might be responsible for your issues regarding this project. Db connection, changes in project folder name without configuring, lower PHP version than the recommended one
Result hasn’t been printed error message will come
I ran the project, only admin dashboard is running
Check the video properly!
which php version will work the project?
This project was tested on PHP 7.4
Hello Please i need help regarding Employee Management System, Am having Php Error Encounter whenever i try to open it in my browser, php version is 8. please i need help urgently
Thanks
Not sure about the latest version of PHP. This project was tested on PHP 7.4 only
view result not working
Any error messages?
view result problem
Any error messages?
PHP error how to resolve this>?
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core……………..
I wonder why the start button is not appearing in the exam in Student? and it just keep on refreshing. Help me please.
Make sure about the examination date and time. Else, the system won’t allow entering and attending examinations.
This is how I set the time in Lecturer -> Exam Data, but still start button is not appearing in the Student -> Take Exam and the page just keeps on refreshing.
Start Date
2022-01-29 13:25:00
Completion Date
2022-01-30 13:22:00
Time
60
keep changing the time intervals, try keeping an interval of 30 min and sign in within that time frame
I still can’t figure out how to set exam time :((( same problem
Start Date
2022-01-31 12:43:00
Completion Date
2022-01-30 12:58:00
Time
15
How come the examination starts a day after, but ends before that? (acc. to your set time) Watch the full video, there we’ve set the time, and try managing with it accordingly!
Just a typo error, I corrected it after, maybe you didn’t read it.
Start Date
2022-01-31 12:43:00
Completion Date
2022-01-31 12:58:00 (it was set to this)
Time
15
Watch the full video, there we’ve set the time, and try managing with it accordingly! This is all we can say for now
Start Date
2022-01-31 07:43:00
Completion Date
2022-01-31 12:58:00 (it was set to this)
Time
15
hi, while login it shows the following error in the console
Failed to load resource: the server responded with a status of 404 (Not Found) /onlineExaminationCI/auth/cek_login:1
What about your db configurations?
These are my db configurations
$db[‘default’] = array(
‘dsn’ => ”,
‘hostname’ => ‘localhost’,
‘username’ => ‘root’,
‘password’ => ”,
‘database’ => ‘onlinexaminationci’,
created db with same name and username root and password blank
did you change the name of the project’s folder?
How to Download “tcpdf” ?
Google search it, you’ll get a number of results.
Is it possible to upload this system online? I have tried it and get multiply error mssg about insecure bootstrap (HTTP it need HTTPS) Any way to solve it?
NOT for LIVE PRODUCTIONS!
Web page was great.
but encountered an error. kindly if you can detect the error and plz suggest me a solution.
Parse error: syntax error, unexpected ‘list’ (T_LIST), expecting identifier (T_STRING) in C:\xampp\htdocs\OnlineExaminationCI\application\controllers\Ujian.php on line 211
A PHP Error was encountered
Severity: Parsing Error
Message: syntax error, unexpected ‘list’ (T_LIST), expecting identifier (T_STRING)
Filename: controllers/Ujian.php
Line Number: 21
We’re unsure about this issue as we haven’t faced such yet! Or, this might be due to your Latest PHP version. [This project is only tested with PHP 7.4]
thanks for your instant support… good work. keep it up 🙂
Download print is error
Yes, and the solution is provided inside the text file. Please do make a habit of reading the text file [carefully].
Hi, are you can use the arabic name? If yes ,how use it? Thanks
Nope.
how do i register myself as a new student or lecturer?
or does admin can only add those
From admin panel only!
but how do i create password so that they can login’
After creating Lecturer’s account, click on view records and there you’ll see the “Active” blue button. Simply click on that and that’ll create the account for you. The login details will be displayed on the success message dialog box. And the same goes for Student’s section. For more details: Please check out the demo video carefully, you’ll know everything.
Anyone willing to share their solutions on the continuous refreshing in the exams page after the time reached ZERO? I tried everything but to no avail.
can you help me am stuck only in login form even database import.
All the installation steps are provided in the bottom post’s description.
you just only give admin login in each folder how i get other credentials?
Cause Admin Login details are the main one. With that, you can create other user accounts!
Can you tell me plz why start button is not visible for student how they start the exam?
You’ve to manage the date and time for the examination.
How to set as time perior of exam to show start button for students??
Please watch the demo video
how do i add a new student?
Like create its passord
Soal tidak cukup, anda hanya punya 0 soal
this is the warning when i create a new exam, while entering number of questions
That translates to “Questions are not enough, you only have 0 questions”
Login credential checking not working
It works, please make sure you’ve entered the password correctly. “P” is capital
please help me to change it to english language when i open the code on visual studio are files are showing diff language kindly help me in it
the code lines are in the English language. which file did you open?
Hi sir, I executed your project. That is good working in one system. What about in second and third computers (I mean in LAN).
I have 3 systems in my school. To conduct exams to the students.i what to use your project. Please help out here.
I have systems with the Below IP addresses
1st system – 192———– ( project is available in this xampp->htdocs>project
2nd system – ————–
3rd system – ————–
While accessing in these(2nd,3rd system’s with 192———–/project
I am not getting full project view, I mean css and images and look also not visible
Guide me how to access your project from one system to another
Xampp
Php 7.4.8
I have
Where can i generate TOKEN or get the TOKEN?
Check the full demo video, you’ll know.
I am getting below issue.
DataTables warning: table id=users – Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
Can you please tell me the issue when I open any table of data.
Not sure about this, but might be due to your LATEST PHP version. This project was only tested with PHP 5.6 and 7 where it works fine as shown in the video.
When the exam starts the time count with additional 5 hours could you please help me
All the timings are to be set by the users!
No if you check the video when you set the time to be 15 min it countdown strating from hour and half
Thanks in advance
And I really want a solution for this
Sadly, this is all we’ve got from the developers!
How can I contact with devolpers
why start button is not appearing in the student panel? plzzz reply…
you need to set up a date and time correctly
I am getting below issue:
warning: require_once(c:\xampp\htdocs\online examination\system\core/codeigniter.php): failed to open stream: No such file or directory in C:\xampp\htdocs\OnlineExaminationCI\index.php on line 315
Fatal error: require_once(): Failed opening required…………………… on line 315
It looks like you’ve changed the name of the project folder without any configuration. Do not change the name of the project without configuring it!
I have not changed the name of the project folder:
Warning: require_once(C:\xampp\htdocs\OnlineExaminationCI\system\core/CodeIgniter.php): failed to open stream: No such file or directory in C:\xampp\htdocs……………….
Where exactly did you get this? Can you walk me through the steps that you’ve followed in order to run this project?
Hi ser,
Thank you very much for your quick answer.
I downloaded the project, and extracted the project.
I put the extracted project file inside the “htdocs” folder.
on “http://localhost/phpmyadmin“. I created the DB with name “onlinexaminationci”.
I downloaded “tcpdf” and placed it under the directory “\application\libraries” with the name “tcpdf”.
I Imported the database file (onlinexaminationci.sql) which is provided under the folder naming “DATABASE FILE”.
then I tried to run the project via localhost “http://localhost/OnlineExaminationCI/“.
then I received the error message above.
Best Regards
All the steps are correct, but I’m wondering how could that even happen..?
Maybe [by mistake] you’ve deleted some of the files supporting to it
Thank you very much Sir, It is working now. Great work.
Sorry i am new in programming
Could you explain me about all files and folders you use in your system.
CANT LOGIN.
I try to login with admin, but is always checking and do nothing
Any error messages?
An uncaught Exception was encountered
Type: mysqli_sql_exception
Message: Unknown database ‘onlinexaminationci’
Filename: C…………………………….
Line Number: 201
Backtrace:
File:………………………………….
help me with this please
Ohh come on…. it literally says “Unknown database ‘onlinexaminationci’”
Meaning you’ve not created any db naming “onlinexaminationci” and imported the given db file!!
hello! great project. i cant login as a student; everytime it says wrong password; i am entering everything properly. please help
Student registration is a bit tricky. Check the demo video carefully!
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_driver::open($ save_path, $n ame) should either be compatible with SessionHandlerInterface::open(string $ path, string $name): bool, or the #[\ ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: ……………………………
Line: 315
Function: require_once
please help why getting these eerrors
This looks like an error coming from your LATEST version of PHP. This particular project is tested only with PHP 7.4, so the latest PHP 8 might create these problems. Still, you can find related solutions for these problems online!
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_files_ driver:: open($save_ path, $name) should either be compatible with SessionHandlerInterface::open(string $ path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers……………………..
This looks like an error coming from your LATEST version of PHP. This particular project is tested only with PHP 7.4, so the latest PHP 8 might create these problems. Still, you can find related solutions for these problems online!
dear sir, all tests are being executed fo default 1 hour 30 minutes….is it hard coded somewhere…also pls tell how mail functionality will work. pls we are using this for just deminstration purpose not for production
Regarding mail functionality, google has now removed the “Less Secure App” feature while integrating it with the Gmail SMTP server. Rest, this is all we’ve got from the developers!
so how can we use mail function in this appliaction
http://localhost/%5B PROJECT_FOLDER_NAME ]/
[PROJECT_FOLDER_NAME] is where you have to enter the name of the project folder. And not just copy-paste the same dummy link to the URL in order to run the project!
Can this project run on PHP 8 version ?
And if you have backup of php 7, can you provide me a link ?
My project is on Online Examinatio System.
Not sure about that! You can find PHP 7 from SourceForge
I ran the project, only admin dashboard is running
I can’t see teacher’s and students panel
please help
Check the video
A PHP Error was encountered only in when I entered with student what is this problem?
please mention the full error message
Unable to login once online but works on local server (XAMPP)
stop at Checking… And Wait…
Please send me template to import question and answer from excel file. My email: [email protected]. Thanks
http://localhost/OnlineExaminationCI/ujian/list
404 Page Not Found
The page you requested was not found.
what feature were you trying to access?
Parse error: syntax error, unexpected ‘list’ (T_LIST), expecting identifier (T_STRING) in C:\xampp\htdocs\OnlineExaminationCI\application\controllers\Ujian.php on line 210
A PHP Error was encountered
Severity: Parsing Error
Message: syntax error, unexpected ‘list’ (T_LIST), expecting identifier (T_STRING)
Filename: controllers/Ujian.php
Line Number: 210
Backtrace:
Student Portal > Click Goto Exam & then face this error
A PHP Error was encountered
Severity: Warning
Message: mysqli::real_connect(): (HY000/1049): Unknown database ‘onlinexaminationci’
Filename……………….
Create a database named ‘onlinexaminationci’ and import the given db file
what did you use as the admin password please
check the given text file
Parse error: syntax error, unexpected ‘list’ (T_LIST), expecting identifier (T_STRING) in D:\xampp\htdocs\OnlineExaminationCI\application\controllers\Ujian.php on line 211
A PHP Error was encountered
Severity: Parsing Error
Message: syntax error, unexpected ‘list’ (T_LIST), expecting identifier (T_STRING)
Filename: controllers/Ujian.php
Line Number: 211
Backtrace:
error of this my php version is 5.6 please solve my problem
Function: library
File: C:\xampp\htdocs\OnlineExaminationCI\index.php
Line: 315
Function: require_once
Help me out please
what’s your PHP version?
Please i have tried the login but it’s not working
I used the password
[email protected]
Password@123
what about db connection?
Please how can i go about that
Hi where can i find the login details for the lecturers and students?
We’ve provided the admin login details and with help of that, you can create your own lecturer and student’s details from the admin panel!!
Hi!
The admin credential are not working!
The database connection is totally okay!
Nope, it is not! If the connections are fine totally, that credentials should allow you to access the admin dashboard.
getting this error after inserting new question answer ,
A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 5
Filename: controllers/Soal.php
Line Number: 189
Backtrace:……………..
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information – headers already sent by (output started at / home………..
i really thank you, you have done a great job thank you! but the only problem detected is that the teacher can only be assigned to one course which is not logical but we know that in an institution a teacher can have more than one course which is not possible in the application.
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
this is what i get when i try load the system
Can you please check the project folder to see if there’s a folder named ‘system’ with all its files.
please can you assist me with Students login details
Admin credentials are provided inside the text file, with that you can create your own student details and log in with it
but when creating the student login details I have no access to student password I can only access the email. can you please assist
Could you please assist the following problem?
– I’ve created a new exam with the defined question set, and I can view the exam from student login, but when I input the token and click start of the exam, it won’t redirect to the question and will complete the exam immediately.
– For the exam result, it shows the mark only. Does the teacher can view which question answer and is incorrect?
– Does the exam can be reopen for the same student to take again?
Thanks for your help.
Hey Guys ,
I solve the problem to download a report with out using large tcpdf file .
i write 10 lines of code it will working and its download different formats . like PDF,JPG,PNG .
Any one need a code please contact :
[email protected]
Can anybody tell me how can i acces leacturer and student panel ?
Please watch the demo video. I think we’ve addressed that on the video as well.
I can’t access the project. This is the message that appears:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Try configuring the config file of this project according to your own server details!
Which password is used by the other users(the Lecturers, and Students) how do they log in?
Other login details can be created from admin panel. Regarding their process of login, please check the demo video.
An uncaught Exception was encountered
Type: Error
Message: TCPDF_FONTS::utf8Bidi(): Argument #2 ($currentfont) cannot be passed by reference
Filename: C:\xampp\htdocs\OnlineExaminationCI\application\libraries\tcpdf\tcpdf.php
Line Number: 1983
Backtrace:
File: C:\xampp\htdocs\OnlineExaminationCI\application\libraries\Pdf.php
Line: 9
Function: __construct
File: C:\xampp\htdocs\OnlineExaminationCI\application\controllers\Hasilujian.php
Line: 73
Function: library
File: C:\xampp\htdocs\OnlineExaminationCI\index.php
Line: 315
Function: require_once
how to use forgot password feature….its not working…showing error that can not send the reset password link…..
Unable to email the Reset Password link…..pls assist…