0% found this document useful (0 votes)
12 views

wt-mini-project

This document details the development of a student registration system for Standard High School Zana to improve the management of student records. It outlines the objectives, problem statement, software requirements, and technologies used, including MYSQL, PHP, HTML, CSS, and JavaScript. The system aims to enhance data consistency and security while providing a user-friendly interface and necessary functionalities for effective record management.

Uploaded by

sahildhene06
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

wt-mini-project

This document details the development of a student registration system for Standard High School Zana to improve the management of student records. It outlines the objectives, problem statement, software requirements, and technologies used, including MYSQL, PHP, HTML, CSS, and JavaScript. The system aims to enhance data consistency and security while providing a user-friendly interface and necessary functionalities for effective record management.

Uploaded by

sahildhene06
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Name- Ashish Chavan

Roll No- 11
Div - A

ABSTRACT
In this study, a student registration system to manage school records was developed.
This was as a result of the realization of the need for an efficient and effective
automated system given the incompetent nature of the manual systems in place in
the managing of student’s records. The dynamic nature of information technology
and the wide array of information need to be implemented. Standard High School
Zana was used as the case study.
The system was implemented using MYSQL software development tool to develop
the database because it is easy to learn and understand. PHP scripting language was
used for interacting between the database and the Graphical User Interface (GUI).
And Dreamweaver was used to develop user interfaces. JavaScript was used to
ensure security controls and validation. The application was complete with user
interface, summarized reports, for applicant and security controls necessary such
that the user can start deriving value from the new application.
The designed system was tested by a number of few courses which was
successfully applied. To identify system requirements the questionnaire,
observation and interview methods of data collection were used. The study
identified the major problems faced by the use of manual filing systems to manage
school records and attempted to solve them by developing an automated records
management system. Recommendations such as user training, parallel system
conversion and anti-virus update installations ensured smooth functionality and
system availability.
This student’s registration system project report acts as a fundamental guide or tool
to management of school records in system evaluation and decision making.
INDEX

CHAPTER NO. PAGE NO.


1. Abstract

2. Title

3. Objective

4. Problem Statement

5. Theory

6. Source Code

7. Output

8. Conclusion
Title: Creating a website on user registration System.

Objective:
The main objective of the study was to develop a computerized database
system to manage information for Standard High School Zana that will
handle data consistency and ensure maximum data security.
The study was guided by the following objectives;
i. To clearly analyze the current system used by Standard High School-
Zana to manage its data records.
ii. To establish the requirements necessary for designing a computerized
database system for Standard High School Zana.
iii. To design a student registration system for Standard High School
Zana

Problem Statement:

This system of Student Registration was designed for improving the effectiveness
and efficiency of managing student’s registration electronic records. The national
focus on student outcomes has placed an additional burden on our nation’s
schools, school districts, and state education agencies according to The National
Forum For Educational Statistics, for they must monitor the achievement of
individual students, as well as groups of students, and show that all students are
meeting high standards for learning.

Outcome: A functional, responsive, and visually appealing portfolio website


that effectively showcases the work and skills of a web developer.

Software Requirements:
• A code Editor (Visual Studio Code)
• A web browser (Google Chrome)
Thory Concept:
HTML (Hypertext Markup Language):
HTML is a markup language used to create web pages. It provides the structure
and content of a web page, defining the various elements such as headings,
paragraphs, images, and links. HTML consists of a series of tags, which are used
to mark up the content, and can be customized with attributes to provide
additional information about the element.

There are several versions of HTML, with HTML 5 being the latest and most
widely used. HTML5 introduced new elements such as video, audio, and canvas,
making it easier to create multimedia-rich web pages. HTML is a key component
of web development and is the starting point for creating any web page.

CSS (Cascading Style Sheets):


CSS is a stylesheet language used to define the visual presentation of a web page.
It allows developers to separate the content of a page from its presentation,
making it easier to create and maintain complex layouts. CSS consists of a series
of rules, which define the styles for various elements of the page, such as colors,
fonts, and spacing.

JS (JavaScript):
JavaScripts is a dynamic computer programming language. It is lightweight and
most commonly used as a part of web pages, whose implementations allow
client-side script to interact with the user and make dynamic pages. It is an
interpreted programming language with object-oriented capabilities.

The JavaScript client-side mechanism provides many advantages over traditional


CGI server-side scripts. For example, you might use JavaScript to check if the
user has entered a valid e-mail address in a form field.

PHP:

The term PHP is an acronym for PHP: Hypertext Preprocessor. PHP is a server-
side scripting language designed specifically for web development. It is open-
source which means it is free to download and use. It is very simple tolearn and
use. The files have the extension “.php”.

• PHP code is executed in the server.


• It can be integrated with many databases such as Oracle, Microsoft SQL
Server, MySQL, PostgreSQL, Sybase, and Informix.
• It is powerful to hold a content management system like WordPress and can
be used to control user access.
• It supports main protocols like HTTP Basic, HTTP Digest, IMAP, FTP, and
others.
• Websites like www.facebook.com and www.yahoo.com are also built on
PHP.

MySQL:

MySQL is a powerful open-source database management system that is widely


used for storing and organizing data. It is known for its fast performance,
reliability, and ease of use, making it a popular choice for web applications,
business data, and other types of data storage.

MySQL is based on the Structured Query Language (SQL), a standard language


for interacting with databases. With MySQL, you can create and modify
databases, tables, and other database objects, as well as insert, query, and update
data. You can also use MySQL to manage users and privileges, ensuring that
only authorized users have access to your data.

One of the strengths of MySQL is its flexibility. It can be used on various


platforms, including Linux, Windows, and macOS, and it can be integrated with a
range of programming languages, including PHP, Java, and Python. This makes
MySQL a versatile choice for many different types of projects and applications.
Xampp:

XAMPP is an abbreviation where X stands for Cross-Platform, A stands for


Apache, M stands for MySQL, and the Ps stand for PHP and Perl, respectively.
It is an open-source package of web solutions that includes Apache distribution
for many servers and command-line executables along with modules such as
Apache server, MariaDB, PHP, and Perl.

XAMPP helps a local host or server to test its website and clients via computers
and laptops before releasing it to the main server. It is a platform that furnishes a
suitable environment to test and verify the working of projects based on Apache,
Perl, MySQL database, and PHP through the system of the host itself. Among
these technologies, Perl is a programming language used for web
development, PHP is a backend scripting language, and MariaDB is the most
vividly used database developed by MySQL.
Code:
<?php session_start();
include_once('includes/config.php'); if
(strlen($_SESSION['id']==0)) {
header('location:logout.php');
} else{
//Code for Updation
// for password change
if(isset($_POST['update']))
{
$oldpassword=$_POST['currentpassword'];
$newpassword=$_POST['newpassword'];
$sql=mysqli_query($con,"SELECT password FROM users where password='$oldpassword'");
$num=mysqli_fetch_array($sql); if($num>0)
{
$userid=$_SESSION['id'];
$ret=mysqli_query($con,"update users set password='$newpassword' where id='$userid'");
echo "<script>alert('Password Changed Successfully !!');</script>";
echo "<script type='text/javascript'> document.location = 'change-password.php';
</script>";
}
else
{
echo "<script>alert('Old Password not match !!');</script>";
echo "<script type='text/javascript'> document.location = 'change-password.php';
</script>";
}
}

?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink- to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Change password | Registration and Login System</title>
<link href="https://cdn.jsdelivr.net/npm/simple- datatables@latest/dist/style.css" rel="stylesheet" />
<link href="css/styles.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font- awesome/5.15.3/js/all.min.js"
crossorigin="anonymous"></script>
<script language="javascript" type="text/javascript"> function valid()
{
if(document.changepassword.newpassword.value!= document.changepassword.confirmpassword.value)
{
alert("Password and Confirm Password Field do not match !!"); document.changepassword.confirmpassword.focus();
return false;
}
return true;
}
</script>
</head>
<body class="sb-nav-fixed">
<?php include_once('includes/navbar.php');?>
<div id="layoutSidenav">
<?php include_once('includes/sidebar.php');?>
<div id="layoutSidenav_content">
<main>
<div class="container-fluid px-4">

<h1 class="mt-4">Change Password</h1>


<div class="card mb-4">
<form method="post" name="changepassword" onSubmit="return

valid();"> <div class="card-body">


<table class="table table-bordered">
<tr>
<th>Current Password</th>
<td><input class="form-control"
id="currentpassword" name="currentpassword" type="password" value="" required /></td>
</tr>
<tr>
<th>New Password</th>
<td><input class="form-control" id="newpassword"
name="newpassword" type="password" value="" required /></td>
</tr>
<tr>
<th>Confirm Password</th>
<td colspan="3"><input class="form-control"
id="confirmpassword" name="confirmpassword" type="password" required /></td>
</tr>

<tr>
<td colspan="4" style="text-align:center
;"><button type="submit" class="btn btn-primary btn-block" name="update">Change</button></td>

</tr>
</tbody>
</table>
</div>
</form>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
crossorigin="anonymous"></script>
<script src="js/scripts.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js"
crossorigin="anonymous"></script>
<script src="assets/demo/chart-area-demo.js"></script>
<script src="assets/demo/chart-bar-demo.js"></script>
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest" crossorigin="anonymous"></script>
<script src="js/datatables-simple-demo.js"></script>
</body>
</html>
<?php } ?>

<?php session_start(); include_once('../includes/config.php');


// Code for login if(isset($_POST['login']))
{
$adminusername=$_POST['username'];
$pass=md5($_POST['password']);
$ret=mysqli_query($con,"SELECT * FROM admin WHERE username='$adminusername' and password='$pass'");
$num=mysqli_fetch_array($ret); if($num>0)
{
$extra="dashboard.php";
$_SESSION['login']=$_POST['username'];
$_SESSION['adminid']=$num['id'];
echo "<script>window.location.href='".$extra."'</script>"; exit();
}
else
{
echo "<script>alert('Invalid username or password');</script>";
$extra="index.php";
echo "<script>window.location.href='".$extra."'</script>"; exit();
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink- to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Admin Login | Registration and Login System</title>
<link href="../css/styles.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font- awesome/5.15.3/js/all.min.js"
crossorigin="anonymous"></script>
</head>
<body class="bg-primary">
<div id="layoutAuthentication">
<div id="layoutAuthentication_content">
<main>
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-5">
<div class="card shadow-lg border-0 rounded-lg mt-5">

<div class="card-header">
<h2 align="center">Registration and Login System</h2>
<hr />
<h3 class="text-center font-weight-light my-4">Admin Login</h3></div>
<div class="card-body">

<form method="post">

<div class="form-floating mb-3">


<input class="form-control" name="username" type="text"
placeholder="Username" required/>
<label for="inputEmail">Username</label>
</div>

<div class="form-floating mb-3">


<input class="form-control" name="password" type="password" placeholder="Password" required />
<label for="inputPassword">Password</label>
</div>
<div class="d-flex align-items-center justify-content-between mt-4 mb-0">
<a class="small" href="password-recovery.php">Forgot Password?</a>
<button class="btn btn-primary" name="login" type="submit">Login</button>
</div>
</form>
</div>
<div class="card-footer text-center py-3">
<div class="small"><a href="../index.php">Back to Home
Page</a></div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>

</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
crossorigin="anonymous"></script>
<script src="../js/scripts.js"></script>
</body>
</html>

<?php session_start();
include_once('../includes/config.php'); if
(strlen($_SESSION['adminid']==0)) {
header('location:logout.php');
} else{
// for deleting user if(isset($_GET['id']))
{
$adminid=$_GET['id'];
$msg=mysqli_query($con,"delete from users where id='$adminid'"); if($msg)
{
echo "<script>alert('Data deleted');</script>";
}
}

?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink- to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Yesterday Registered Users | Registration and Login System</title>
<link href="https://cdn.jsdelivr.net/npm/simple- datatables@latest/dist/style.css" rel="stylesheet" />
<link href="../css/styles.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font- awesome/5.15.3/js/all.min.js"
crossorigin="anonymous"></script>

</head>
<body class="sb-nav-fixed">
<?php include_once('includes/navbar.php');?>
<div id="layoutSidenav">
<?php include_once('includes/sidebar.php');?>
<div id="layoutSidenav_content">
<main>
<div class="container-fluid px-4">
<h1 class="mt-4">Yesterday Registered Users</h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item"><a href="dashboard.php">Dashboard</a></li>
<li class="breadcrumb-item active">Yesterday Registered
Users</li>
</ol>

<div class="card mb-4">


<div class="card-header">
<i class="fas fa-table me-1"></i> Yesterday
Registered Users Details
</div>
<div class="card-body">
<table id="datatablesSimple">
<thead>
<tr>
<th>Sno.</th>
<th>First Name</th>
<th> Last Name</th>
<th> Email Id</th>
<th>Contact no.</th>
<th>Reg. Date</th>
<th>Action</th>
</tr>
</thead>
<tfoot>
<tr>

<th>Sno.</th>
<th>First Name</th>
<th> Last Name</th>
<th> Email Id</th>
<th>Contact no.</th>
<th>Reg. Date</th>
<th>Action</th>
</tr>
</tfoot>
<tbody>
<?php $ret=mysqli_query($con,"select * from users
where date(posting_date)=CURRENT_DATE()-1");
$cnt=1; while($row=mysqli_fetch_array($ret))
{?>
<tr>
<td><?php echo $cnt;?></td>
<td><?php echo $row['fname'];?></td>
<td><?php echo $row['lname'];?></td>
<td><?php echo $row['email'];?></td>
<td><?php echo $row['contactno'];?></td> <td><?php
echo $row['posting_date'];?></td>
<td>

<a href="user-profile.php?uid=<?php echo


$row['id'];?>">
<i class="fas fa-edit"></i></a>
<a href="manage-users.php?id=<?php echo
$row['id'];?>" onClick="return confirm('Do you really want to delete');"><i class="fa fa-trash" aria-
hidden="true"></i></a>
</td>
</tr>
<?php $cnt=$cnt+1; }?>

</tbody>
</table>
</div>
</div>
</div>
</main>
<?php include('../includes/footer.php');?>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
crossorigin="anonymous"></script>
<script src="../js/scripts.js"></script>
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest" crossorigin="anonymous"></script>
<script src="../js/datatables-simple-demo.js"></script>
</body>
</html>
<?php } ?>

<?php session_start();
include_once('includes/config.php'); if
(strlen($_SESSION['id']==0)) {
header('location:logout.php');
} else{

?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink- to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Profile | Registration and Login System</title>
<link href="https://cdn.jsdelivr.net/npm/simple- datatables@latest/dist/style.css" rel="stylesheet" />
<link href="css/styles.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font- awesome/5.15.3/js/all.min.js"
crossorigin="anonymous"></script>
</head>
<body class="sb-nav-fixed">
<?php include_once('includes/navbar.php');?>
<div id="layoutSidenav">
<?php include_once('includes/sidebar.php');?>
<div id="layoutSidenav_content">
<main>
<div class="container-fluid px-4">

<?php
$userid=$_SESSION['id'];
$query=mysqli_query($con,"select * from users where id='$userid'"); while($result=mysqli_fetch_array($query))
{?>
<h1 class="mt-4"><?php echo $result['fname'];?>'s
Profile</h1>
<div class="card mb-4">

<div class="card-body">
<a href="edit-profile.php">Edit</a>
<table class="table table-bordered">
<tr>
<th>First Name</th>
<td><?php echo $result['fname'];?></td>
</tr>
<tr>
<th>Last Name</th>
<td><?php echo $result['lname'];?></td>
</tr>
<tr>
<th>Email</th>
<td colspan="3"><?php echo

</tr>
<tr>
$result['email'];?></td> <th>Contact No.</th>
<td colspan="3"><?php echo
$result['contactno'];?></td>
</tr>

<tr>
<th>Reg. Date</th>
<td colspan="3"><?php echo

$result['posting_date'];?></td> </tr>
</tbody>
</table>
</div>
</div>
<?php } ?>

</div>
</main>

</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js"
crossorigin="anonymous"></script>
<script src="assets/demo/chart-area-demo.js"></script>
<script src="assets/demo/chart-bar-demo.js"></script>
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest" crossorigin="anonymous"></script>
<script src="js/datatables-simple-demo.js"></script>
</body>
</html>
<?php } ?>
Output:
CONCLUSION

To conclude the description about the project : the project, developed using PHP
and MYSQL is based on the requirement specification of the user and the analysis
of the existing system, with flexibility for future enhancement.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy