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

Mad

The document outlines a micro project titled 'Hostel Management System' developed by students of Gurukul Education Society's Institute of Engineering and Technology for the academic year 2024-25. This web-based application aims to automate hostel management processes, allowing students to register and manage their data securely using PHP and MySQL. The project includes various modules for student registration, login, and a user-friendly interface, emphasizing the practical application of web technologies.

Uploaded by

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

Mad

The document outlines a micro project titled 'Hostel Management System' developed by students of Gurukul Education Society's Institute of Engineering and Technology for the academic year 2024-25. This web-based application aims to automate hostel management processes, allowing students to register and manage their data securely using PHP and MySQL. The project includes various modules for student registration, login, and a user-friendly interface, emphasizing the practical application of web technologies.

Uploaded by

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

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

GURUKUL EDUCATION SOCIETY’S

INSTITUTE OF ENGINEERRING AND TECHNOLOGY,


NANDGAON

MICRO PROJECT
Academic year: 2024-25

TITLE OF PROJECT

“HOSTEL MANAGEMENT SYSTEM”

Subject :- WBP
Subject Code: 22619
Course and Code: CO-6I
Subject Teacher: Prof. A.H.Gangwal
MAHARASHTRA STATEBOARD OF TECHNICAL
EDUCATION

Certificate

This is to certify that Sanika Dilip Kalwar, Tejas Somath Danekar,


Tanishka Nandu Shelke , Diksha Sahebrao Gandhakshe .Roll
No.14,15,16,33 of 6th Semester of Diploma in Computer Engineering
Project satisfactorily in Subject–WBP(22619) for the academic year
2024-25 as prescribed in the curriculum.

2216070033
Place: Nandgaon Enrollment No. 2216070034
2216070035
2216070057
535197
Date: / /2025 Exam. Seat No 535198
535199
535215

Subject Teacher Head of the Department Principal


Group Details

Roll Seat No
Sr.No Name of group members Enrollment No
No

1 Sanika Dilip Kalwar 14 2216070033 535197

2 Tejas Somnath Danekar 15 2216070034 535198

3 Tanishka Nandu Shelke 16 2216070035 535199

4 Diksha Sahebrao Gandhakshe 33 2216070057 535215


Acknowledgement

With deep sense of gratitude we would like to thanks all the people who have lit
ourpath with their guidance. We are very grateful to these intellectuals who did their
best to help during our project work. It is our proud privilege to express deep senseof
gratitude to Prof.
V. S. Zadkhande Principal of Gurukul Polytechnic, Nandgaon, Nashik for his
comments and kind permission to complete this Micro Project. We remain indebted to
Prof. S. R. Jain, HOD of Computer Engineering Department for her suggestion and
valuable guidance. The special gratitude goes to our internal guide Prof.M.R.Bagul
Subject teacher (MAD), for their expensive, excellent and precious guidance for
completion of work.

Name of Students:

1. Sanika Dilip Kalwar

2. Tejas Somnath Danekar

3. Tanishka Nandu Shelke

4. Dikash Sahebrao Gandhakshe


INDEX

SR.NO. CONTENT PAGE NO.

1 Abstract 1

2 Introduction 2

Coding 3
4

Output 5
5

6 Conclusion 6

7 Referances 7

Weekly Progress Report 8


8
Abstract

The Hostel Management System is a web-based micro project developed using PHP and
MySQL that aims to simplify and automate the process of managing hostel student data. This
system allows students to register, log in, and maintain their personal records securely.

The main goal of this project is to reduce manual work and improve the efficiency of hostel record
management. The system includes modules such as student registration, login, and a simple
dashboard. It provides a user-friendly interface for students and ensures secure data storage using
password encryption.

The backend database is managed using MySQL through XAMPP, ensuring smooth connectivity
and storage of data. The project is lightweight and suitable as a micro project for diploma or
undergraduate students in the computer science or IT domain.

This system helps demonstrate the practical application of web technologies and database
connectivity in real-world scenarios

1
INTRODUCTION

The Hostel Management System is a simple web-based application designed to manage hostel-
related information effectively. In many colleges and institutions, hostel data like student details,
room allotment, and fee status are still maintained manually, which leads to errors, delays, and
mismanagement.
To overcome these issues, this system provides a digital solution where students can register
themselves online, and the admin can manage all student records from a centralized platform. The
project is developed using PHP as the server-side scripting language and MySQL for database
storage, and it runs on the XAMPP server.
This system reduces paperwork, saves time, and increases the accuracy and accessibility of hostel
data. It also serves as a learning project to understand the basics of web development, form
handling, and database integration.

2
CODING

Main Activity

<?php
include 'db_connect.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hostel Management System</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 400px;
}
h2 {
color: #333;
}
.btn {
display: block;
width: 100%;
padding: 12px;
margin: 10px 0;
text-decoration: none;
color: white;
font-size: 16px;
border-radius: 5px;
text-align: center;
}
.student-btn {
background-color: #28a745;
}

3
.admin-btn {
background-color: #007bff;
}
.btn:hover {
opacity: 0.9;
}
</style>
</head>
<body>
<div class="container">
<h2>🏠 Hostel Management System</h2>
<a href="student_register.php" class="btn student-btn">👨‍🎓 Student Registration</a>
<a href="admin_login.php" class="btn admin-btn">🔑 Admin Login</a>
</div>
</body>
</html>
Intent intent = new Intent(MainActivity.this, DashboardActivity.class);
startActivity(intent);
} else {

// Show error if the credentials do not match


Toast.makeText(MainActivity.this, "Invalid username, password or email",
Toast.LENGTH_SHORT).show();
}
}
});
}
}

Database File

<?php
$host = "localhost";
$user = "root";
$pass = "";
$dbname = "hostel 123";

$conn = new mysqli($host, $user, $pass, $dbname);

if ($conn->connect_error) {
die("Database Connection Failed: " . $conn->connect_error);
}
?>

Student Registration
<?php
include 'db_connect.php';
session_start();

if ($_SERVER["REQUEST_METHOD"] == "POST") {
$name = $_POST['name'];
$email = $_POST['email'];
$contact = $_POST['contact'];
$room_no = $_POST['room_no'];

// Check if Student already registered


$check_sql = "SELECT * FROM students WHERE email='$email'";
$result = $conn->query($check_sql);

if ($result->num_rows > 0) {
echo "<script>
alert('You are already registered! Redirecting to login page.');
window.location.href='student_login.php';
</script>";
} else {
// Student Register Query
$sql = "INSERT INTO students (name, email, contact, room_no) VALUES ('$name',
'$email', '$contact', '$room_no')";

if ($conn->query($sql) === TRUE) {


// Auto Login & Redirect to Student Dashboard
$_SESSION['student_email'] = $email;
echo "<script>
alert('Student Registered Successfully! Redirecting to Dashboard...');
window.location.href='student_dashboard.php';
</script>";
} else {
echo "Error: " . $conn->error;
}
}
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Registration</title>
<style>
body {
font-family: Arial, sans-serif;

5
background-color: #f4f4f4;
text-align: center;
padding: 50px;
}
.container {
background: white;
padding: 20px;
width: 350px;
margin: auto;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
input {
width: 90%;
padding: 8px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 5px;
}
.btn {
background-color: #28a745;
color: white;
padding: 10px;
width: 100%;
border: none;
cursor: pointer;
margin-top: 10px;
}
.btn:hover {
opacity: 0.9;
}
.login-btn {
background-color: #007bff;
}
</style>
</head>
<body>
<div class="container">
<h2>👨‍🎓 Student Registration</h2>
<form method="POST">
<input type="text" name="name" placeholder="Enter Name" required><br>
<input type="email" name="email" placeholder="Enter Email" required><br>
<input type="text" name="contact" placeholder="Enter Contact" required><br>
<input type="text" name="room_no" placeholder="Enter Room Number" required><br>
<button type="submit" class="btn">Register & Login</button>
</form>
<br>
<a href="student_login.php">
<button class="btn login-btn">Already Registered? Login Here</button>
</a>
</div>
</body>
6

OUTPUT
CONCLUSION
The College Management System provides an efficient and structured solution to manage various
academic and administrative activities within a college. By digitalizing processes such as student
management, attendance tracking, leave applications, and notifications, the system reduces manual
work and enhances communication between students, faculty, and administrators.
With role-based access and real-time data synchronization using Firebase, the system ensures
security, efficiency, and ease of use. This project not only simplifies college operations but also
improves transparency and accessibility. Implementing such a system can lead to a well-organized
academic environment, ultimately benefiting both students and faculty.

11
6

REFERENCE

1. MAD Book
2. www.chatgpt.openai.com
3. Subject Teacher.

11
7

11
WEEKLY PROGRESS REPORT

SR.NO. WEEK ACTIVITY PERFORMED DATE SIGN

Discussion and finalization


1 1st of topic

Preparation and submission


2 2nd
of Abstract

Literature Review
3 3rd

Collection of Data
4 4th

Collection of Data
5 5th

Discussion and outline of Content


6 6th

Formulation of Content
7 7th

Compilation of report
8 8th
and presentation

9 9th Seminar

10 10th Final submission of Micro project

11
8

11

You might also like