Online Courseware Using PHP/MySQLi Free Source Code
Introduction
Hi everyone! I made this code in order to help other programmers that find difficulties in creating an online courseware Web Application using PHP. This application helps the teachers provide their students an online platform for taking a quiz. This has 3 types for users which are the Admin, Teachers, and Students.
About the system
This Online Courseware Web app was developed using PHP, MySQL Database, HTML, CSS, JavaScript, and some other plugins/libraries. This was originally written using PHP/MySQL which is the old version of PHP but I did some upgrades in the source code so this will run properly in the latest version of PHP such as PHP 7 or later. As I have said above, this project has 3 types of users and each of these users has different functionalities. The Admin can manage all the important lists such as the list of students and teachers. Admin user also the one who can activate or deactivate the other users. The Teacher can create a series of questions for the students to be taken. He/She can also share the question with another teacher so the question can be also available to his/her student as well. Teachers are the ones who can set max items that the student can be taken and also they can view the result/scores of his/her students. The students will take the quiz provided but their teachers and the question will be randomly asked and same to the choices each. The items that students will be limit only to the max item set by their teachers.
Features:
Admin
- Login/Logout
- Manage Teacher List
- Manage Student List
- Manage Questions
- View Scores
Teachers
- Login/Logout
- Add Question Category
- Manage Question
- List Students
- View Student Score
Teachers
- Login/Logout
- Take Quiz
How to Run
Requirements
- Download and Install any local web server such as XAMPP/WAMP.
- Download the provided source code zip file. (download button is located below)
Installation/Setup
- Open your XAMPP/WAMP's Control Panel and start the
Apache
andMySQL
. - Extract the downloaded source code zip file.
- If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
- Browse the
PHPMyAdmin
in a browser. i.e.http://localhost/phpmyadmin
- Create a new database naming
pcci
. - Import the provided
SQL
file. The file is known aspcci.sql
located inside the extracted source code folder. - Browse the Web Application in a browser.
Student
http://localhost/pcci
Teachers
http://localhost/pcci/teacher
Admin
http://localhost/pcci/admin
Admin Login Information:
Username: admin
Password: admin
DEMO
That's it! You can now explore the features and functionalities of this Online Courseware Web App in PHP. I hope this will help you understand how to create a web application like this and you'll find it useful for your future PHP Projects.
Enjoy :)
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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
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.
Comments
[email protected]
Warning: session_start()
the progrqam is ok but for
Solve Login As Admin.
after login in the student login
username and pw not working as admin
Add new comment
- Add new comment
- 4919 views