Visvesvaraya Technological University: Belgaum, Karnataka-590 014
Visvesvaraya Technological University: Belgaum, Karnataka-590 014
An Internship Report on
“HOSTEL MANAGEMENT”
Submitted in partial fulfillment of the requirement for the 8th Semester
Submitted by
KIRAN M
1SP18CS034
CERTIFICATE
Certified that the project work entitled “HOSTEL MANAGEMENT SYSTEM” carried
by KIRAN M, a bonafied student of S.E.A. College of Engineering &Technology, in
partial fulfillment for the 8th semester of Bachelor of Engineering in Computer Science
and Engineering department of the Visvesvaraya Technological University, Belgaum
during the year 2021-2022. It is certified that all corrections/suggestions indicated for
Internship report have been incorporated in the Report deposited in the departmental
library. The project report has been approvedas it satisfies the academic requirements in
respect of Project work prescribed for the said Degree.
And finally, I would like to express my heart full gratitude to my friends and all those
whohave extended their help throughout my Internship.
KIRAN M
(1SP18CS034)
ABSTRACT
. "HOSTEL MANAGEMENT SYSTEM" is software developed for managing various
activities in the hostel. For the past few years the numbers of educational institutions are
increasing rapidly. Thereby the numbers of hostels are also increasing for the
accommodation of the students studying in this institution. And hence there is a lot of
strain on the person who are running the hostel and software's are not usually used in this
context. This particular project deals with the problems on managing a hostel and avoids
the problems which occur when carried manually.
.
INDEX
1. Introduction
1.1 Module 01
1.2 System Analysis 02
2. Literature Survey
2.1 PHP 03
2.2 HTML 04
2.3 CSS 06
2.4 MYSQL 07
3. System Analysis
3.1 Existing System 08
3.2 Proposed System/Solution 08
4. System Requirements
5. System Design
5.1 ER Diagram 10
6 Implementation
7 Screenshots
8 Conclusion 25
HOSTEL MANAGEMENT
CHAPTER 1
INTRODUCTION
The project titled as “Hostel Management System” is developed in PHP as front end
and SQL as back end. The main aim of the project is to make a complete solution for Hostel
Management. This project has Admin login module, User registration and User login module.
1.1 Module
Admin Login
User Registration
User Login
Admin Login
The admin can login into the by Hostel Management System giving the
credentials. Itcontains following sub modules:
Manage Users- The admin can view registered user’s details.
Manage Rooms- The admin can view or manage the student registered rooms
User Registration –
A new user can sign up into the system by giving their full name, mobile number,
email id and set a new password to register. After the registration, the user can login to the
portal using their credentials.
User Login
The registered user can login into the Hostel Management system by giving the credentials.
The existing system is not user friendly. The records are made in paper and the book
can be managed by huge number of peoples. The records have to be stored in a very large
spacious room. The records cannot be making many copies.
Time Consuming
Human error is liable
Difficulty faced at the time of organizing the whole data
The records have to be recorded in notebook
Notebooks can be altered by any persons at any time
The proposed system is going to replace the existing system toll with its disadvantages
removed along with the improved performance. The proposed system is designed such that it
will determine proper solution for the problems in the existing system. The proposed system
is GUI (Graphical User Interface) oriented. It contains many database activities like adding
user data, deleting user data, viewing user data and reporting user data.
All user details are recorded in the database easily. The records can be managed by
the administrator.
The proposed systems don’t need huge human power to manage the system.
The reports can be easily searched using the proposed system.
CHAPTER 2
LITERATURE SURVEY
2.1 PHP
PHP started 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 performs system functions, i.e., from files on a system it can create, open, read,
write, and close them.
PHP can handle forms, i.e., gather data from files, save data to a file, through email
you can send data, return data to the user.
You add, delete, modify elements within your database through PHP.
Access cookies variables and set cookies.
Using PHP, you can restrict users to access some pages of your website.
2.2 HTML
HTML stands for Hypertext Markup Language, and it is the most widely used
language to write Web Pages.
Hypertext refers to the way in which Web pages (HTML documents) are linked
together. Thus, the link available on a webpage is called Hypertext.
As its name suggests, HTML is a Markup Language which means you use HTML to
simply "mark-up" a text document with tags that tell a Web browser how to structure
it to display.
Originally, HTML was developed with the intent of defining the structure of
documents like headings, paragraphs, lists, and so forth to facilitate the sharing of
scientific information between researchers.
Now, HTML is being widely used to format web pages with the help of different tags
available in HTML language.
Features in HTML5
Applications of HTML
HTML has been used widely and effectively. Below is the list of Uses of HTML language.
Web pages development: HTML is heavily used for creating pages that are displayed
on the world wide web. Every page contains a set of HTML tags including hyperlinks
which are used for connecting to other pages. Every page that we witness, on the world
wide web, is written using a version of HTML code.
2.3 CSS
The cascade part of CSS means that more than one style sheet can be attached to a
document, and all of them can influence the presentation. For example, a designer can have a
global style sheet for the whole site, but a local one for say, controlling the link color and
background of a specific page. Or, a user can use her own style sheet if she has problems
seeing the page, or if she just prefers a certain look.
Advantages of CSS
Increases Download Speed: By taking the appearance mark-up out of the html file you
decrease the html file size and significantly decrease the download time of that file.
Makes Pages More Accessible: Your pages become more accessible. By separating the
styling (CSS) from the content and structure (HTML), you are well on your way to
satisfying Accessibility requirements. This is an important thing to consider, if you are
creating sites that might be used by the visually impaired.
Multiple Style Sheets Cascade into One: Style Sheets allow style information to be
specified in many ways. Styles can be specified inside a single HTML element, inside the
element of an HTML page, or in an external CSS file. Even multiple external Style Sheets
can be referenced inside a single HTML document.
Reduces Time: It is much easier to update pages. It is much faster to update a page that
uses styles over using tags and the like. With CSS, you can decide how headings should
appear, and enter that information once. Every heading in every page that is linked to this
style sheet now has that appearance. Want to make every heading of level 3 obviously
different from those of level 2? Edit the style sheet, and every such heading now has the
altered appearance. Consider how much time you will save. With cascading style sheets,
whole organizations can share a small number of style sheets, ensuring consistency across
the site with no need for constant updating and editing to accommodate changes. How do
Style Sheets Work? Style sheets are just text files, or text embedded in the head of an
HTML document, that help separate content from appearance. The content of a page goes
into an HTML file and the appearance goes into a style sheet. But how does this entire
end up as a web page in your browser? Think of a style sheet as a set of instructions,
suggesting to a web browser how to draw a page. The style sheet suggests how the
browser should display the page based on rules you define in the style sheet.
2.4 MYSQL
Originally conceived by the Swedish company MySQL AB, MySQL was acquired by
Sun Microsystems in 2008 and then by Oracle when it bought Sun in 2010. Developers can
use MySQL under the GNU General Public License (GPL), but enterprises must obtain a
commercial license from Oracle. Today, MySQL is the RDBMS behind many of the top
websites in the world and countless corporate and consumer-facing web-based applications,
including Face book, Twitter and YouTube.
CHAPTER 3
SYSTEM ANALYSIS
3.1 EXISTING SYSTEM
In an existing system there are users who have their own mechanic database which is very minimal.
And also, they have no idea if their vehicles are breaking down or had any mechanical issue in remote
locations or any long distant locations from their known mechanic shops. Users with the contacts of
people at the particular place may look for a help from them only if they are ready to do. It is not
possible to find out the suitable mechanic for the desired service at remote locations. The only way
they have is to look for any other transportation at the time of issue and then they need to get a
mechanic to the particular location at which they have left their vehicle.
3.1.1 DISADVANTAGES:
1. Time consuming.
2. Difficult to find suitable mechanic.
Here the users of On Road Vehicle Breakdown Assistance system can search for list of
mechanic at any location or the nearby locations which will help them in an unexpected situation
raised by the mechanical issues of their vehicles. Only the licensed mechanics can get listed here
while the search. And there are available mechanic who can come and repair the mechanical issues in
the user’s vehicle.
3.2.1 ADVANTAGES:
CHAPTER 4
SYSTEM REQUIREMENTS
RAM : 8 GB
CHAPTER 5
SYSTEM DESIGN
5.1 ER DIAGRAM
A ER shows what kinds of information will be input to and output from the system, where the
data will come from and go to, and where the data will be stored. It does not show
information about the timing of processes, or information about whether processes will
operate in sequence or in parallel (which is shown on a flowchart).
CHAPTER 6
IMPLEMENTATION
--
-- Table structure for table `admin`
--
CREATE TABLE IF NOT EXISTS `admin` (
`id` int(11) NOT NULL,
`username` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`password` varchar(300) NOT NULL,
`reg_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updation_date` date NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`id`, `username`, `email`, `password`, `reg_date`, `updation_date`) VALUES
(1, 'admin', '[email protected]', 'Test@1234', '2016-04-04 20:31:45', '2016-04-17');
--
-- Table structure for table `adminlog`
--
CREATE TABLE IF NOT EXISTS `adminlog` (
`id` int(11) NOT NULL,
`adminid` int(11) NOT NULL,
`ip` varbinary(16) NOT NULL,
`logintime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Table structure for table `courses`
--
--
-- Table structure for table `rooms`
--
CREATE TABLE IF NOT EXISTS `rooms` (
`id` int(11) NOT NULL,
`seater` int(11) NOT NULL,
`room_no` int(11) NOT NULL,
`fees` int(11) NOT NULL,
`posting_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `rooms`
--
INSERT INTO `rooms` (`id`, `seater`, `room_no`, `fees`, `posting_date`) VALUES
(1, 5, 100, 8000, '2016-04-11 22:45:43'),
(2, 2, 201, 6000, '2016-04-12 01:30:47'),
(3, 2, 200, 6000, '2016-04-12 01:30:58'),
(4, 3, 112, 4000, '2016-04-12 01:31:07'),
(5, 5, 132, 2000, '2016-04-12 01:31:15');
--
-- Table structure for table `states`
--
CREATE TABLE IF NOT EXISTS `states` (
`id` int(11) NOT NULL,
`State` varchar(150) DEFAULT NULL
) ENGINE=MyISAM AUTO_INCREMENT=37 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `states`
--
INSERT INTO `states` (`id`, `State`) VALUES
(1, 'Andaman and Nicobar Island (UT)'),
(2, 'Andhra Pradesh'),
(3, 'Arunachal Pradesh'),
(4, 'Assam'),
(5, 'Bihar'),
(6, 'Chandigarh (UT)'),
(7, 'Chhattisgarh'),
(8, 'Dadra and Nagar Haveli (UT)'),
(9, 'Daman and Diu (UT)'),
(10, 'Delhi (NCT)'),
(11, 'Goa'),
(34, 'Uttarakhand'),
(35, 'EPE'),
(36, 'West Bengal');
--
-- Table structure for table `userlog`
--
CREATE TABLE IF NOT EXISTS `userlog` (
`id` int(11) NOT NULL,
`userId` int(11) NOT NULL,
`userEmail` varchar(255) NOT NULL,
`userIp` varbinary(16) NOT NULL,
`city` varchar(255) NOT NULL,
`country` varchar(255) NOT NULL,
`loginTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `userlog`
--
INSERT INTO `userlog` (`id`, `userId`, `userEmail`, `userIp`, `city`, `country`, `loginTime`) VALUES
(1, 10, '[email protected]', '', '', '', '2016-06-22 06:16:42'),
(2, 10, '[email protected]', '', '', '', '2016-06-24 11:20:28'),
(4, 10, '[email protected]', 0x3a3a31, '', '', '2016-06-24 11:22:47'),
(5, 10, '[email protected]', 0x3a3a31, '', '', '2016-06-26 15:37:40'),
(6, 20, '[email protected]', 0x3a3a31, '', '', '2016-06-26 16:40:57');
--
-- Table structure for table `userregistration`
--
CREATE TABLE IF NOT EXISTS `userregistration` (
`id` int(11) NOT NULL,
`regNo` varchar(255) NOT NULL,
`firstName` varchar(255) NOT NULL,
`middleName` varchar(255) NOT NULL,
`lastName` varchar(255) NOT NULL,
`gender` varchar(255) NOT NULL,
`contactNo` bigint(20) NOT NULL,
CHAPTER 7
SCREENSHOTS
CHAPTER 8
CONCLUSION
The given project “Hostel Management system” was successfully completed and the required
reports are generated. The project has been designed to fulfil the needs of the customer and
company. The system is extremely user friendly. The system is tested with real data. The
results or the live data are compacted with the actual system verified for its accuracy. The
system is flexible so that there is a lot of scope to update the system. As the system is flexible
the system can be changed if any changes come in future. The developed system is portable.
The developed system has been completed which is customized for the satisfaction of the user
The system has been analysed, designed and developed with meticulous care and can be
executed without any faults or errors.
REFERENCES
1. www.mindsetit.com
2. www.electronicsforu.com
3. www.electronicshub.org
4. www.elprocus.com
5. www.androidtutorials.com