0% found this document useful (0 votes)
75 views16 pages

PHP MP

This document appears to be a report submitted by three students - Sneha Ganesh Umbarajkar, Srushti Deepak Vijapure, and Purva Raman Potabatti - for their microproject on developing a web application for hostel management at Government Polytechnic, Solapur. The report includes an abstract, introduction, description of key features, functions used, code, output, conclusion, and references. It was submitted under the supervision of Prof. Monika Dussa and certified by the Principal of Government Polytechnic, Solapur.

Uploaded by

umbrajkarsneha
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)
75 views16 pages

PHP MP

This document appears to be a report submitted by three students - Sneha Ganesh Umbarajkar, Srushti Deepak Vijapure, and Purva Raman Potabatti - for their microproject on developing a web application for hostel management at Government Polytechnic, Solapur. The report includes an abstract, introduction, description of key features, functions used, code, output, conclusion, and references. It was submitted under the supervision of Prof. Monika Dussa and certified by the Principal of Government Polytechnic, Solapur.

Uploaded by

umbrajkarsneha
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/ 16

Maharashtra Board of Technical Education, Mumbai

Government Polytechnic, Solapur

DIPLOMA IN COMPUTER TECHNOLOGY

ACEDAMIC YEAR 2023- 2024

A
MICROPROJECT REPORT ON

Web Application development of Hostel Management System

Submitted by: -

Roll Enrolment Name


number number
4 2100150010 Sneha Ganesh Umbarajkar
41 2100150058 Srushti Deepak Vijapure
72 2100150103 Purva Raman Potabatti

Submitted to: - Prof. Monika Dussa Mam


CERTIFICATE
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI

GOVERNMENT POLYTECHNIC, SOLAPUR

Title of microproject- Hostel Management Application

This is to certify that the following students

Roll Enrolment Name


number number
4 2100150010 Sneha Ganesh Umbarajkar
41 2100150058 Srushti Deepak Vijapure
72 2100150103 Purva Raman Potabatti

of Branch Computer of semester Sixth (6) of diploma in Computer


Technology of institute Government Polytechnic, Solapur. Code (0015)
have completed the microproject work satisfactorily under my supervision
/guidance for the subject Web Based Application Development Using PHP
(22619) in the academic year 2023-2024 as prescribed in the curriculum.
Guide Name -Prof. Monika Dussa

Date & Sign –

HOD PRINCIPAL
Acknowledgement

In the accomplishment of this Microproject many people have bestowed


upon us their blessings and their heart privileged support. Primarily I would like to
express a special thanks of gratitude to our Principal Dr. Upadhyay A. L. sir of
Government Polytechnic, Solapur, our head of department Prof. Tarange A. L.
department of computer technology Government Polytechnic, Solapur for giving this
golden opportunity with all the required facilities for completing this Microproject
I would like to extend my gratitude to our mentor and teacher, Prof. Monika
Dussa Mam whose valuable guidance has been the key of our success in this
microproject.

THANK YOU
INDEX

Sr. Title Page


no. no.

1 Abstract 1

2 Introduction 2

3 Key Features 3

4 Functions used 4

5 Code 5

6 Output 9

7 Conclusion 11

8 References 12
Abstract

The Hostel Management Web Development Project aims to streamline


and enhance the management of hostel facilities in educational institutions. The
project focuses on developing a web-based platform that provides administrators,
hostel staff, and residents with efficient tools for managing hostel-related tasks,
such as room allocation, fee collection, inventory management, and
communication.
The system leverages modern web development technologies to create a user-
friendly interface accessible from any internet-enabled device. Through the
implementation of secure authentication mechanisms, role-based access control,
and data encryption, the platform ensures the confidentiality and integrity of
sensitive information.
Key features of the hostel management system include:
Room Allocation: Administrators can efficiently assign rooms to students based
on predefined criteria, such as gender, course, and academic year, while
considering room preferences and availability.
Fee Management: The system facilitates the collection and tracking of hostel fees,
allowing administrators to generate invoices, record payments, and send
reminders to residents for outstanding dues.
Inventory Tracking: Hostel staff can manage hostel amenities and supplies
through the system, monitoring inventory levels, tracking usage, and generating
purchase orders as needed to replenish stock.
By centralizing hostel management tasks and automating routine processes, the
Hostel Management Web Development Project aims to improve operational
efficiency, enhance resident satisfaction, and facilitate effective communication
and collaboration within the hostel community.

1
Introduction

The Hostel Management Web Development Project represents a


pivotal endeavor aimed at revolutionizing the management and administration of
hostel facilities within educational institutions. Hostel management poses a
myriad of challenges, including room allocation, fee collection, inventory
tracking, and communication between administrators and residents. Traditional
paper-based systems are often cumbersome, prone to errors, and lack the
efficiency needed to meet the demands of modern hostel environments. In
response to these challenges, this project endeavors to develop a comprehensive
web-based platform that offers a robust solution to streamline hostel management
processes.
At its core, the project seeks to harness the power of web development
technologies to create an intuitive and user-friendly interface accessible to
administrators, hostel staff, and residents alike. By leveraging the ubiquity of the
internet, the platform aims to provide seamless access to hostel-related
information and functionalities from any internet-enabled device, thereby
enhancing accessibility and convenience for all stakeholders.
The significance of this project lies in its potential to revolutionize the way hostel
facilities are managed and operated. By transitioning from manual, paper-based
systems to a digital platform, administrators can expect to experience significant
improvements in efficiency, accuracy, and transparency. Moreover, residents
stand to benefit from enhanced communication channels, streamlined processes
for room allocation and fee management, and greater convenience in accessing
hostel-related services.
The Hostel Management Web Development Project represents a proactive
response to this need, offering a scalable and adaptable platform that can evolve
to meet the evolving requirements of hostel management in the digital age.
Through collaboration, innovation, and a commitment to excellence, this project
aims to set a new standard for hostel management practices, ultimately enhancing
the overall experience for administrators, hostel staff, and residents alike.

2
Key Features

1. Room Allocation: The platform facilitates efficient allocation of hostel rooms to


students based on various criteria such as gender, course, academic year, and
room preferences, ensuring optimal utilization of hostel resources.
2. Fee Management: Administrators can easily manage hostel fee collection by
generating invoices, recording payments, and sending reminders for outstanding
dues, streamlining the financial management process.
3. Inventory Tracking: Hostel staff can track and manage hostel amenities and
supplies through the platform, monitoring inventory levels, tracking usage, and
generating purchase orders as needed to replenish stock.
4. Resident Profile Management: The system allows administrators to maintain
comprehensive profiles for each resident, including personal information,
contact details, room allocation history, and fee payment records, ensuring
accurate and up-to-date resident data.
5. Maintenance Requests: Residents can submit maintenance requests and report
issues related to their hostel accommodation through the platform, enabling
prompt response and resolution by hostel staff.
6. Communication Tools: The platform offers integrated communication tools such
as messaging systems and announcement boards, facilitating seamless
communication between administrators, hostel staff, and residents.
7. Reporting and Analytics: Administrators can generate reports and analytics on
various aspects of hostel management, including occupancy rates, fee collection
trends, inventory usage, and maintenance request status, enabling data-driven
decision-making and performance monitoring.
8. Role-based Access Control: The platform implements role-based access control
mechanisms to ensure that users are granted access to only those features and
functionalities relevant to their roles and responsibilities, enhancing security and
confidentiality of hostel-related information.
9. These key features collectively contribute to the efficiency, transparency, and
effectiveness of hostel management operations, ultimately enhancing the overall
experience for administrators, hostel staff, and residents alike.

3
Functions used

• mysqli_connect(): Establishes a connection to the MySQL database server.

• mysqli_query(): Performs a query against the database.

• mysqli_fetch_assoc(): Fetches a result row as an associative array from a query.

• mysqli_close(): Closes a previously opened database connection.

• header(): Sends a raw HTTP header to redirect the user to another location or
set cookies.

• isset(): Checks if a variable is set and not null.

• empty(): Checks if a variable is empty.

• die(): Terminates script execution and outputs a message.

• $_GET(): Retrieves data sent to the server in the URL query string.

• Echo(): Outputs one or more strings.

• Htmlspecialchars(): Converts special characters to HTML entities to prevent


XSS attacks.

• $.ajax(): Performs an asynchronous HTTP (Ajax) request in JavaScript.

• document.write(): Writes HTML expressions or JavaScript code to a document.

4
Code

<?php
session_start();
include('includes/dbconn.php');
if(isset($_POST['login']))
{
$email=$_POST['email'];
$password=$_POST['password'];
$password = md5($password);
$stmt=$mysqli->prepare("SELECT email,password,id FROM
userregistration WHERE email=? and password=? ");
$stmt->bind_param('ss',$email,$password);
$stmt->execute();
$stmt -> bind_result($email,$password,$id);
$rs=$stmt->fetch();
$stmt->close();
$_SESSION['id']=$id;
$_SESSION['login']=$email;
$uip=$_SERVER['REMOTE_ADDR'];
$ldate=date('d/m/Y h:i:s', time());
if($rs){
$uid=$_SESSION['id'];
$uemail=$_SESSION['login'];
$ip=$_SERVER['REMOTE_ADDR'];
$geopluginURL='http://www.geoplugin.net/php.gp?ip='.$ip;
$addrDetailsArr = unserialize(file_get_contents($geopluginURL));
$city = $addrDetailsArr['geoplugin_city'];
$country = $addrDetailsArr['geoplugin_countryName'];
$log="insert into userLog(userId,userEmail,userIp,city,country)
values('$uid','$uemail','$ip','$city','$country')";
$mysqli->query($log);
if($log){
header("location:student/dashboard.php");
}
} else {

5
echo "<script>alert('Sorry, Invalid Username/Email or
Password!');</script>";
}
}
?>
<!-- By CodeAstro - codeastro.com -->
<!DOCTYPE html>
<html dir="ltr">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<!-- Favicon icon -->
<link rel="icon" type="image/png" sizes="16x16"
href="assets/images/favicon.png">
<title>Hostel Management System</title>
<!-- Custom CSS -->
<link href="dist/css/style.min.css" rel="stylesheet">

<script type="text/javascript">
function valid() {
if(document.registration.password.value!=
document.registration.cpassword.value){
alert("Password and Re-Type Password Field do not match !!");
document.registration.cpassword.focus();
return false;
}
return true;
}
</script>

</head>
<body>
<div class="main-wrapper">
6
<div class="preloader">
<div class="lds-ripple">
<div class="lds-pos"></div>
<div class="lds-pos"></div>
</div>
</div>
<div class="auth-wrapper d-flex no-block justify-content-center align-
items-center position-relative"
style="background:url(../assets/images/big/auth-bg.jpg) no-repeat center
center;">
<div class="auth-box row">
<div class="col-lg-7 col-md-5 modal-bg-img" style="background-
image: url(assets/images/hostel-img.jpg);">
</div>
<div class="col-lg-5 col-md-7 bg-white">
<div class="p-3">
<div class="text-center">
<img src="assets/images/big/icon.png" alt="wrapkit">
</div>
<h2 class="mt-3 text-center">Student Login</h2>

<form class="mt-4" method="POST">


<div class="row">
<div class="col-lg-12">
<div class="form-group">
<label class="text-dark" for="uname">Email</label>
<input class="form-control" name="email"
id="uname" type="email"
placeholder="Enter your email" required>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label class="text-dark" for="pwd">Password</label>
<input class="form-control" name="password"
id="pwd" type="password"
placeholder="Enter your password" required>
</div>
7
</div>
<div class="col-lg-12 text-center">
<button type="submit" name="login" class="btn btn-
block btn-dark">LOGIN</button>
</div>
<div class="col-lg-12 text-center mt-5">
<a href="admin/index.php" class="text-danger">Go to
Admin Panel</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<script src="assets/libs/jquery/dist/jquery.min.js "></script>
<!-- Bootstrap tether Core JavaScript -->
<script src="assets/libs/popper.js/dist/umd/popper.min.js "></script>
<script src="assets/libs/bootstrap/dist/js/bootstrap.min.js "></script>
<script>
$(".preloader ").fadeOut();
</script>
</body>

</html>

8
Output

Index Page

9
10
Conclusion

The Hostel Management Web Development Project represents a significant


milestone in the realm of educational institution management, offering a
transformative solution to the complexities and challenges associated with hostel
administration. Through the development of a comprehensive web-based
platform, this project aims to revolutionize the way hostel facilities are managed,
operated, and experienced by administrators, hostel staff, and residents.
inventory tracking, and communication. The implementation of intuitive user
interfaces, robust backend functionalities, and secure data management protocols
ensures that the platform delivers a seamless and efficient experience for all
stakeholders involved.
The project's focus on inventory tracking and maintenance request management
further contributes to the efficiency and effectiveness of hostel operations. Hostel
staff can easily monitor inventory levels, track usage, and generate purchase
orders as needed, ensuring that hostel amenities and supplies are always
adequately stocked. Additionally, residents can submit maintenance requests and
report issues related to their accommodation through the platform, enabling
prompt response and resolution by hostel staff, thereby enhancing resident
satisfaction and overall hostel experience.
In conclusion, the Hostel Management Web Development Project stands as a
testament to the transformative power of technology in revolutionizing traditional
practices and enhancing operational efficiency in educational institution
management. Through collaboration, innovation, and a commitment to
excellence, this project has set a new standard for hostel management practices,
paving the way for a more streamlined, transparent, and rewarding hostel
experience for all stakeholders involved.

11
Reference

• www.geeksforgeeks.com
• www.javatpoint.com
• www.w3schools.com
• https://www.php.net/
• https://www.tutorialspoint.com/php/index.htm
• https://www.codecademy.com/catalog/language/php

12

You might also like