Student Malpractice System Document
Student Malpractice System Document
The Student Malpractice System application it is used to find out the factor responsible for
examination malpractices in College. To examine the people involved in examination
malpractice. To suggest possible solution to the problem of examination malpractices in college
of education and the various schools that make up the college. It also saves time and effort. The
user interface must be user friendly and easy to understand. The details of students of the
organizations can be stored in the database with this application and they can find out whether
the student has copied or not. The results of the students can also be accessed and stored
through this application. The data which is disclosed will be more secure since there will be no
access to the unknown users. The performance of the students through curriculum as well as co-
curriculum can also be stored through the use of this application. You can also obtain the details
of the students by entering his/her name or the roll number just in one click.
INTRODUCTION
The educational system has for long had serious hit from examination
malpractice and this has brought into focus the need to tackle this issues in
order of findings ways to eradicate such problems in the light of the above
achieve. To achieve these objectives the survey method was used for data
students, the result of the data analysis showed that the main causes of
labeled and most parents encourage them on it and the method commonly
student. The study intends to find out the causes and some possible solution
study will involve 10 academic staffs, 10 non academic staffs and one
The PHP Hypertext Preprocessor (PHP) is a programming language that allows web
developers to create dynamic content that interacts with databases. PHP is basically used for
developing web based software applications. This tutorial helps you to build your base with
PHP.PHP started out as a small open source project that evolved as more and more people
found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in
1994.
PHP is a MUST for students and working professionals to become a great Software Engineer
specially when they are working in Web Development Domain. I will list down some of the key
advantages of learning PHP:
PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
PHP is a server side scripting language that is embedded in HTML. It is used to manage
dynamic content, databases, session tracking, even build entire e-commerce sites.
It is integrated with a number of popular databases, including MySQL, PostgreSQL,
Oracle, Sybase, Informix, and Microsoft SQL Server.
PHP is pleasingly zippy in its execution, especially when compiled as an Apache module
on the Unix side. The MySQL server, once started, executes even very complex queries
with huge result sets in record-setting time.
PHP supports a large number of major protocols such as POP3, IMAP, and LDAP. PHP4
added support for Java and distributed object architectures (COM and CORBA), making
n-tier development a possibility for the first time.
PHP is forgiving: PHP language tries to be as forgiving as possible.
PHP Syntax is C-Like.
PHP is a server-side scripting language, which is used to design the dynamic web applications
with MySQL database.
o It handles dynamic content, database as well as session tracking for the website.
o You can create sessions in PHP.
o It can access cookies variable and also set cookies.
o It helps to encrypt the data and apply validation.
o PHP supports several protocols such as HTTP, POP3, SNMP, LDAP, IMAP, and many
more.
o Using PHP language, you can control the user to access some pages of your website.
o As PHP is easy to install and set up, this is the main reason why PHP is the best language
to learn.
o PHP can handle the forms, such as - collect the data from users using forms, save it into
the database, and return useful information to the user. For example - Registration form.
FEATURES OF PHP
Performance:
PHP script is executed much faster than those scripts which are written in other languages such
as JSP and ASP. PHP uses its own memory, so the server workload and loading time is
automatically reduced, which results in faster processing speed and better performance.
Open Source:
PHP source code and software are freely available on the web. You can develop all the versions
of PHP according to your requirement without paying any cost. All its components are free to
download and use.
PHP has easily understandable syntax. Programmers are comfortable coding with it.
Embedded:
PHP code can be easily embedded within HTML tags and script.
Platform Independent:
PHP is available for WINDOWS, MAC, LINUX & UNIX operating system. A PHP application
developed in one OS can be easily executed in other OS also.
Database Support:
PHP supports all the leading databases such as MySQL, SQLite, ODBC, etc.
Error Reporting -
PHP has predefined error reporting constants to generate an error notice or warning at runtime.
E.g., E_ERROR, E_WARNING, E_STRICT, E_PARSE.
Loosely Typed Language:
PHP allows us to use a variable without declaring its datatype. It will be taken automatically at
the time of execution based on the type of data it contains on its value.
PHP is compatible with almost all local servers used today like Apache, Netscape, Microsoft IIS,
etc.
Security:
PHP is a secure language to develop the website. It consists of multiple layers of security to
prevent threads and malicious attacks.
Control:
Different programming languages require long script or code, whereas PHP can do the same
work in a few lines of code. It has maximum control over the websites like you can make
changes easily whenever you want.
It has a large community of developers who regularly updates documentation, tutorials, online
help, and FAQs. Learning PHP from the communities is one of the significant benefits.
XAMPP FRAMEWORK:
XAMPP is a free and open-source cross-platform web server solution stack package developed
by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and
interpreters for scripts written in the PHP and Perl programming languages.
Since most actual web server deployments use the same components as XAMPP, it makes
transitioning from a local test server to a live server possible.
XAMPP's ease of deployment means a WAMP or LAMP stack can be installed quickly and
simply on an operating system by a developer. With the advantage a number of common add-in
applications such as Wordpress and Joomla! can also be installed with similar ease using
Bitnami.
XAMPP is regularly updated to the latest releases of Apache, MariaDB, PHP and Perl. It also
comes with a number of other modules including OpenSSL, phpMyAdmin, MediaWiki, Joomla,
WordPress and more.
Self-contained, multiple instances of XAMPP can exist on a single computer, and any given
instance can be copied from one computer to another.
Features of MYSQL
Easy to use: MySQL is easy to use. You have to get only the basic knowledge of SQL. You can
build and interact with MySQL with only a few simple SQL statements.
It is secure: MySQL consist of a solid data security layer that protects sensitive data from
intruders. Passwords are encrypted in MySQL.
Client/ Server Architecture: MySQL follows a client /server architecture. There is a database
server (MySQL) and arbitrarily many clients (application programs), which communicate with
the server; that is, they query data, save changes, etc.
Free to download: MySQL is free to use and you can download it from MySQL official
website.
It is scalable: MySQL can handle almost any amount of data, up to as much as 50 million rows
or more. The default file size limit is about 4 GB. However, you can increase this number to a
theoretical limit of 8 TB of data.
Allows roll-back: MySQL allows transactions to be rolled back, commit and crash recovery.
High Performance: MySQL is faster, more reliable and cheaper because of its unique storage
engine architecture.
High Flexibility: MySQL supports a large number of embedded applications which makes
MySQL very flexible.
High Productivity: MySQL uses Triggers, Stored procedures and views which allows the
developer to give a higher productivity.
HARDWARE REQUIREMENTS
Storage :500GB
RAM :4 GB
SOFTWARE REQUIREMENTS
SAMPLE CODING:
Index.php
<!DOCTYPE html>
<?php
require "config.php";
error_reporting(E_PARSE);
$user="";
$pwd="";
$_SESSION['username'] ="";
if (isset($_POST['submit']))
$user = $_POST['suser'];
$pwd = $_POST['spwd'];
// echo "called";
$count = $lgn_qry->rowCount();
echo $count;
if($count==1)
header("Location:malpracticefeed.php");
else
?>
else
if(isset($_POST['StaffRegister']))
header("Location:staffregister.php");
}
if(isset($_POST['adminlogin']))
header("Location:adminlogin.php");
?>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Work+Sans:100,200,300,400,500,600,700,800,900"
rel="stylesheet">
</head>
<body>
<div class="container">
<span class="text">India</span>
</div>
<span class="text">[email protected]</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</button>
</ul>
</div>
</div>
</nav>
<!-- END nav -->
<div class="overlay"></div>
<div class="container">
</div>
</div>
</div>
</div>
<div class="overlay"></div>
<div class="container">
</div>
</div>
</div>
</div>
</section>
<div class="container-wrap">
<span class="flaticon-teacher"></span>
</div>
<!--<p>Even the all-powerful Pointing has no control about the blind texts it is an almost
unorthographic.</p> -->
</div>
</div>
</div>
<span class="flaticon-reading"></span>
</div>
</div>
</div>
<span class="flaticon-books"></span>
</div>
</div>
</div>
</div>
<span class="flaticon-diploma"></span>
</div>
<h3 class="heading">Certification</h3>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="container">
<div class="row">
</div>
</div>
<div class="col-lg-6">
<div class="text">
<h3>Safety First</h3>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="text">
<h3>Regular
Classes</h3>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="text">
<h3>Certified
Teachers</h3>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="text">
<h3>Sufficient
Classrooms</h3>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="text">
<h3>Creative
Lessons</h3>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="text">
<h3>Sports
Facilities</h3>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="container">
</div>
<div class="d-md-flex">
<div class="form-group">
<input type="text" class="form-control"
id="suser" name ="suser" placeholder="User Name">
</div>
</div>
</div>
<div class="d-md-flex">
<div class="form-group">
</div>
</div>
</div>
<div class="d-md-flex">
<div class="form-group">
</div>
</form>
</div>
</div>
</div>
</section>
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-md-9">
</div>
</div>-->
</div>
</div>
</section>
<div class="container">
</div>
</div>
<div class="row">
<div class="staff">
</div>
<h3>Bianca Wilson</h3>
<div class="faded">
<p>Compiler Design
Professor</p>
</ul>
</div>
</div>
</div>
</div>
<div class="staff">
</div>
<h3>Mitch Parker</h3>
<span class="position
mb-2">AP</span>
<div class="faded">
<p>DBMS Professor</p>
</ul>
</div>
</div>
</div>
</div>
<div class="staff">
</div>
<h3>Stella Smith</h3>
<div class="faded">
<p>Maths Professor</p>
</ul>
</div>
</div>
</div>
</div>
<div class="staff">
</div>
<h3>Monshe Henderson</h3>
<div class="faded">
<p>Electronics Professor</p>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="container">
</div>
</div>
<div class="col-lg-10">
<div class="block-18">
<div class="text">
<span>Certified Teachers</span>
</div>
</div>
</div>
<div class="block-18">
<div class="text">
<span>Successful Students</span>
</div>
</div>
</div>
<div class="block-18">
<div class="text">
<span>Happy Parents</span>
</div>
</div>
</div>
<div class="block-18">
<div class="text">
<strong class="number" data-number="300">0</strong>
<span>Awards Won</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-migrate-3.0.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/aos.js"></script>
<script src="js/jquery.animateNumber.min.js"></script>
<script src="js/scrollax.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?
key=AIzaSyBVWaKrjvy3MaE7SQ74_uJiULgl1JY0H2s&sensor=false"></script>
<script src="js/google-map.js"></script>
<script src="js/main.js"></script>
</body>
</html>
Viewmalpractice.php
<!DOCTYPE html>
<?php
require "config.php";
error_reporting(E_PARSE);
if (isset($_POST['submit']))
$staffname = $_POST['staffname'];
$staffid = $_POST['staffid'];
$studentname= $_POST['studentname'];
$studentid = $_POST['studentid'];
$Malpractice = $_POST['Malpractice'];
$malpracticedate = $_POST['malpracticedate'];
try {
echo $sql;
$conn->exec($sql);
header("Location:index.php");
} else {
$conn->close();
}
catch(PDOException $e)
$conn = null;
?>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Work+Sans:100,200,300,400,500,600,700,800,900"
rel="stylesheet">
</head>
<body>
<div class="container">
<span class="text">India</span>
</div>
<span class="text">[email protected]</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</button>
</ul>
</div>
</div>
</nav>
<div class="container">
</div>
</div>
<div class="col-lg-10">
<div class="block-18">
<div class="text">
<span>Certified Teachers</span>
</div>
</div>
</div>
<div class="block-18">
<div class="text">
<span>Successful Students</span>
</div>
</div>
</div>
<div class="block-18">
<div class="text">
<span>Happy Parents</span>
</div>
</div>
</div>
<div class="block-18">
<div class="text">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="container">
<div class="col-md-9">
</div>
<thead>
<tr>
<th>Staff Name</th>
<th>Staff ID</th>
<th>Student Name</th>
<th>Malpractice Details</th>
<th>Malpractice Date</th>
</tr>
</thead>
<tbody>
<?php
require_once('config.php');
$result->execute();
?>
<tr>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</section>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-migrate-3.0.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/aos.js"></script>
<script src="js/jquery.animateNumber.min.js"></script>
<script src="js/scrollax.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?
key=AIzaSyBVWaKrjvy3MaE7SQ74_uJiULgl1JY0H2s&sensor=false"></script>
<script src="js/google-map.js"></script>
<script src="js/main.js"></script>
</body>
</html>
Staffregister.php
<!DOCTYPE html>
<?php
require "config.php";
error_reporting(E_PARSE);
if (isset($_POST['submit']))
{
$user = $_POST['suser'];
$pwd = $_POST['spwd'];
$sName = $_POST['sName'];
$phone = $_POST['phone'];
try {
echo $sql;
$conn->exec($sql);
header("Location:index.php");
} else {
$conn->close();
}
catch(PDOException $e)
$conn = null;
?>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Work+Sans:100,200,300,400,500,600,700,800,900"
rel="stylesheet">
</head>
<body>
<div class="container">
<span class="text">India</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</button>
</div>
</div>
</nav>
<div class="container">
</div>
<div class="d-md-flex">
<div class="form-group">
</div>
</div>
</div>
<div class="d-md-flex">
<div class="form-group">
</div>
</div>
</div>
<div class="d-md-flex">
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<div class="container">
<div class="row">
<div class="col-md-9">
</div>
</div>-->
</div>
</div>
</section>
<div class="container">
</div>
</div>
<div class="row">
<div class="col-md-6 col-lg-3 ftco-animate">
<div class="staff">
</div>
<h3>Bianca Wilson</h3>
<div class="faded">
</ul>
</div>
</div>
</div>
</div>
</div>
<h3>Mitch Parker</h3>
<span class="position
mb-2">AP</span>
<div class="faded">
<p>DBMS Professor</p>
</ul>
</div>
</div>
</div>
</div>
<div class="staff">
<div class="img-wrap d-flex align-items-
stretch">
</div>
<h3>Stella Smith</h3>
<div class="faded">
<p>Maths Professor</p>
</ul>
</div>
</div>
</div>
</div>
<div class="staff">
<div class="img-wrap d-flex align-items-
stretch">
</div>
<h3>Monshe Henderson</h3>
<div class="faded">
<p>Electronics Professor</p>
</ul>
</div>
</div>
</div>
</div
</div>
</div>
</section>
<section class="ftco-section ftco-counter img" id="section-counter" style="background-image:
url(images/bg_4.jpg);" data-stellar-background-ratio="0.5">
<div class="container">
</div>
</div>
<div class="col-lg-10">
<div class="block-18">
<div class="text">
<span>Certified Teachers</span>
</div>
</div>
</div>
<div class="block-18">
<div class="text">
<strong class="number" data-number="5000">0</strong>
<span>Successful Students</span>
</div>
</div>
</div>
<div class="block-18">
<div class="text">
<span>Happy Parents</span>
</div>
</div>
</div>
<div class="block-18">
<div class="text">
<span>Awards Won</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-migrate-3.0.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/aos.js"></script>
<script src="js/jquery.animateNumber.min.js"></script>
<script src="js/scrollax.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?
key=AIzaSyBVWaKrjvy3MaE7SQ74_uJiULgl1JY0H2s&sensor=false"></script>
<script src="js/google-map.js"></script>
<script src="js/main.js"></script>
</body>
</html>
SCREENSHOTS:
HOMEPAGE:
STAFF LOGIN PAGE:
ADD MALPRACTICE DETAILS:
ADMIN LOGIN:
VIEW MALPRACTICE DETAILS:
REFERENCE:
WEBSITE LINKS:
1. https://onlinelibrary.wiley.com/doi/abs/10.1002/aehe.3640150709
2. https://www.grossarchive.com/project/1597/the-effect-of-examination-malpractice-on-
students-attitude-to-learn-a-case-study-of-college-of-education-ekiadolor-benin