Online Hotel Management System
Online Hotel Management System
1
DECLARATION
• The major project work comprises my work towards the degree of Bachelor of
Technology in Information Technology Engineering at Jodhpur Engineering College
& Research Centre, and has not been submitted elsewhere for a degree.
• It is also certified that due acknowledgement has been made in the text to all resources
used.
Signature of Student
MR. MRIDUL
MANCHANDA
CERTIFICATE
This is to certify that the major project work entitled Online Hotel Mangement has been carried
out by Mr. Mridul Manchanda, Mr. Anand Kumar Tanwar , Mr. Dheeraj Gurbani for the degree
of Bachelor of Technology in Information Technology Engineering.
000000Signature(Internal)
Signature(External)
2
DECLARATION
This is to certify that
• The major project work comprises my work towards the degree of Bachelor of
Technology in Information Technology Engineering at Jodhpur Engineering College
& Research Centre, and has not been submitted elsewhere for a degree.
• It is also certified that due acknowledgement has been made in the text to all resources
used.
Signature of Student
CERTIFICATE
This is to certify that the major project work entitled Online Hotel Management has been
carried out by Mr.Anand Kumar Tanwar Mr. Mridul Manchanda Mr.Dheeraj Gurbani for the
degree of Bachelor of Technology in Information Technology Engineering.
Signature(Internal)
Signature(External)
3
DECLARATION
This is to certify that
• The major project work comprises my work towards the degree of Bachelor of
Technology in Information Technology Engineering at Jodhpur Engineering College
& Research Centre, and has not been submitted elsewhere for a degree.
• It is also certified that due acknowledgement has been made in the text to all resources
used.
Signature of Student
CERTIFICATE
This is to certify that the major project work entitled Online Hotel Management has been
carried out by Ms. Dheeraj Gurbani, Mr. Mridul Manchanda, Mr. Anand Kumar Tanwar for the
degree of Bachelor of Technology in Information Technology Engineering.
Signature(Internal)
Signature(External)
4
ACKNOWLEDGEMENT
The satisfaction that accompanies the successful completion of any task would be incomplete
without the mention of people who made it possible, whose constant guidance and
encouragement crown all efforts with success. Thus, the successful completion of this Project is
attributed to the great and indispensible help I have received from different people.
“No single achievement of a person can be attributed to efforts alone, there are always helping
hands that shape the efforts into tangible form.”
My foremost and sincere thanks and gratitude to, Mr. Praveen Joshi, whose able guidance paved
our way towards success.
Last but not the least I would like to pay my sincere gratitude to my group partners Anand
Kumar Tanwar and Dheeraj Gurbani without whom this project would have never completed.
Mridul Manchanda
B.Tech IV Year I.T
5
ABSTRACT
Major Project is an important part of the engineering curriculum. The B.Tech course major
project helps a student in getting experience of developing a project and working conditions in a
software organization.
Hence, when the student switches from the process of learning to that of implementing his/her
knowledge, he/she finds abrupt change. This is exactly why major project session during the
B.Tech curriculum becomes all the more important. Major Project is prescribed for the student of
Technical College as a part of the 4 year degree course of engineering by the AICTE. We are
required to undergo Major Project during our 8th semester part.
This report describes in detail about “ONLINE HOTEL MANAGEMENT SYSTEM”. This
report also gives the information about the topic and its working.
6
INDEX
Topic Page No
1. Feasibility Study 11
1.1) Technical 11
1.2) Operational 11
1.3) Economical 11
2. Technology 12
2.1) Software Specification 12
2.2) Hardware Specification 12
3) Introduction to Dreamweaver 13
5) Introduction to Javascript 15
9) Installing to WAMP 20
12) Significance 24
7
14) System Analysis and Design 25
15) Advantage 26
19) Bibliography 34
8
9
ACKNOWLEDGEMENT
MRIDUL MANCHANDA
ANAND KUMAR TANWAR
DHEERAJ GURBANI
(4th year I.T.)
1. FEASIBILITY STUDY
Feasibility study conducted once the problem is clearly understood.Feasibility study is a high
level capsule version of the entire system-analysis and design process.The objective is to
determine quickly and at the minimum expense how to solve the problem and to determine the
problem is solved.The system has been tested for feasibility in the following ways.
Technical feasibility
Operational feasibility
Economical feasibility
1.1 Technical feasibility:
11
A study of function ,performance and constraints may effect the ability to achieve an acceptable
system so ,that necessary function and performance are achieved with in the constraints
uncovered during system analysis.The software developed for the automation of Hotel
Reservation System is used in client server architecture with
Ms Access as backend and .net1.3 as front end.Since the software is platform independent and
has predefined functions and constraints such as to locate the charges ,validating functions etc.,so
the project is technically feasible.
1.2 Operational feasibility:
The purpose of this project is to develop a
Web based system which facilitates on line reservation of hotel accommodation from any where
in the world.The activities of the system such as data entry ,information retrieval ,updating and
deletion of records from various tables etc are made easy .All the operators of this project are
trained in this area.So this project is operational feasible.
1.3 Economical feasibility:
Economic analysis includes a broad range of concerns that include cost benefit analysis ,long
term cooperative income strategies,cost of resources needed for development .In existing they
had to maintain a large number of books/registers is a costly affair.This can be avoided by
putting the data in the computer format that is cheaper and reliable.Since the cost of resources for
development of system satisfies the organization,the software is economically feasible.
2. Technology Used:
• WAMP SERVER
• PHP
• MY-SQL
• MACROMEDIA DREAMWEAVER 8 WEB DEVELOPPER
12
• HTML
• JAVA SCRIPT
Processor P4 or above
RAM 256 MB
13
3. Introduction to Dreamweaver
Dreamweaver is the most popular application for building and managing websites. With
Dreamweaver you can easily create tables, forms, CSS styles. You can also design your own
templates and implement them on your website with a just a few mouse clicks.
Besides pure HTML, Dreamweaver also supports many other programming languages such as
XHTML, PHP, ASP, JavaScript and CSS. Pages created with Dreamweaver typically have very
clean and readable code.
Dreamweaver also tries to solve many compatibility issues between browsers. This ensures that
your web pages will look correctly and identically in all popular web browsers (Internet
Explorer, Firefox, and Opera
4. Introduction to MySQL
MySQL is a relational database management system (RDBMS) which has more than 6 million
installations. MySQL stands for "My Structured Query Language". The program runs as a server
providing multi-user access to a number of databases. MySQL is a database. The data in
MySQL is stored in database objects called tables. A table is a collection of related data entries
and it consists of columns and rows.
Features that enforce us to use this database are as follows:-
Robust Transactional
• Complete ACID (atomic, consistent, isolated, durable)
14
transaction support.
Support • Unlimited row-level locking.
• Distributed transaction capability, and Multi-version
transaction support.
15
16
5. Introduction to JavaScript
JavaScript is the Netscape-developed object scripting language used in millions of web pages
and server applications worldwide. Netscape's JavaScript is a superset of the ECMA-262 Edition
3 (ECMA Script) standard scripting language, with only mild differences from the published
standard.
JavaScript can function as both a procedural and an object oriented language. Objects are created
programmatically in JavaScript, by attaching methods and properties to otherwise empty objects
at run time, as opposed to the syntactic class definitions common in compiled languages like C+
+ and Java. Once an object has been constructed it can be used as a blueprint (or prototype) for
creating similar objects.
JavaScript's dynamic capabilities include runtime object construction, variable parameter lists,
function variables, dynamic script creation (via eval), object introspection (via for ... in), and
source code recovery (JavaScript programs can decompile function bodies back into their source
text).
17
6. Validation Checks:
For Username and password:
<?php
if($_REQUEST['Submit'])
$name=$_REQUEST['t1'];
$pass=$_REQUEST['t2'];
$n="/^[a-zA-Z]{5,8}$/";
$p="/^[a-zA-Z0-9]{5,8}$/";
if(!preg_match($n,$name))
elseif(!preg_match($p,$pass))
else
?>
18
Designing Portion:
<html>
<body>
<label>name
</label>
<label>password
</label>
<label>
</label>
</form>
19
7. Optimization through PHP Accelerator:
PHP Accelerator:
A PHP accelerator is a PHP extension designed to improve the performance
of software applications written in the PHP programming language
Operation:
Most PHP accelerators work by caching the compiled byte code of PHP scripts to avoid the
overhead of parsing and compiling source code on each request (some or all of which may never
even be executed). To further improve performance, the cached code is stored in shared
memory and directly executed from there, minimizing the amount of slow disk reads and
memory copying at runtime.
Practical Benefits:
PHP accelerators can substantially increase the speed of PHP applications. Improvements of web
page generation throughput by factors of 2 to 7 have been observed. 50 times faster for compute
intensive analysis programs.
The effect on application performance of op code caching varies widely, depending on factors
such as the inherent execution time of the PHP application and the percentage of source code
actually executed on a given request, and whether additional optimization steps are performed.
While a code optimizer may even slow down overall performance when used in isolation, it can
provide an additional performance boost when coupled with a byte code cache, as the
optimization effort is performed just once.
20
8. Introduction to WAMP
WAMP is a form of mini-server that can run on almost any Windows Operating System. WAMP
includes Apache 2, PHP 5 (SMTP ports are disabled), and MySQL (phpMyAdmin and SQLite
manager are installed to manage your databases) preinstalled.
An icon on the taskbar tray displays the status of WAMP, letting you know if; a) WAMP is
running but no services are opened (the icon will appear red), b) WAMP is running and one
service is opened (the icon will appear yellow) or c) WAMP is running with all services opened
(the icon will appear white). Apache and MySQL are considered to be services (they can be
disabled by left-clicking on the taskbar icon, guiding your cursor over the service you wish to
disable and selecting "Stop Service").
The files/web pages that are hosted on your WAMP server can be accessed by typing
http://localhost/ or http://127.0.0.1/ in the address bar of your web browser. WAMP must be
running in order to access either of the above addresses.
If you would like to share your files/web pages with others, click on the icon located on your
taskbar tray and select "Put Online." You must have access to the Internet in order to continue.
Send the people that you would like to give access to the files/web pages hosted on your WAMP
server your IP Address. You can find your IP address here:
Your IP Address and Browser Details
If you are a dial-up user or if you have a dynamic IP Address (one that changes every so often),
you will need to keep the people that have your IP Address updated every time you connect to
the internet.
21
8.1 Installation of WAMP
Sooner or later you'll want (and need) a local web server on your machine to test your websites.
When talking about web server software one usually talks about Apache. Apache is one of the
most widely used web servers nowadays and is also free of charge unlike Microsoft's web server
technology.
Apache supports a variety of modules and plug-ins that let you configure your server just the
way you want. WAMP (Apache, PHP and MySQL for Windows) provides the popular
combination of Apache with the PHP server-side language and the MySQL database in one
easy-to-install package.
First you'll have to download the latest version .Once downloaded double-click the file to launch
the installer.
The setup is pretty self-explanatory. At one point you will be asked where you want to have your
www root folder. This www folder is simply where your web pages will be loaded from. It
doesn't really matter what you choose and you can always change it later.
After the installation you should have a fully functional Apache web server with PHP and
MySQL.
22
9. Introduction to PHP
What is PHP?
• PHP is an open-source server-side scripting language PHP version 5.2.4 is available on
Web server (www.indiana.edu, www.iupui.edu, www.iun.edu, and www.iuk.edu).
• You can create dynamic web pages with the PHP scripting language. A dynamic Web
page interacts with the user, so that each user visiting the page sees customized
information. PHP can also be used to create dynamic web pages that are generated from
information accessed from a MySQL database.
• You can embed PHP commands within a standard HTML page. PHP's syntax is similar
to that of C and Perl, making it easy to learn for anyone with basic programming skills.
• Another feature that PHP offers is connectivity to most of the common databases. PHP
also offers integration with various external libraries, which allow the developer to do
anything from generating PDF documents to parsing XML.
We use the PHP as scripting language for developing our website for the following
reasons:-
• It can also to create dynamic web page content. It can also be used for command-line
scripting and client-side GUI applications.
• PHP can be deployed on most web servers, many operating systems and platforms, and
can be used with many relational database management systems. So we can say that it is
architectural neutral.
• You can also output easily any text, such as XHTML and any other XML file. PHP can
autogenerate these files, and save them in the file system, instead of printing it out,
forming a server-side cache for your dynamic content.
23
PHP stores whole numbers in a platform-dependent range. This range is typically that of 32-
bit signed integers. Unsigned integers are converted to signed values in certain situations; this
behavior is different from other programming languages.
• 56 Integer variables can be assigned using decimal (positive and negative), octal, and
hexadecimal notations. Floating point numbers are also stored in a platform-specific
range. They can be specified using floating point notation, or two forms of scientific
notation.57 PHP has a native Boolean type that is similar to the native Boolean types in
Java and C++.
• PHP stores whole numbers in a platform-dependent range. This range is typically that of
32-bit signed integers. Unsigned integers are converted to signed values in certain
situations; this behavior is different from other programming languages.
• PHP has hundreds of base functions and thousands more via extensions. These functions
are well documented on the PHP site; however, the built-in library has a wide variety of
naming conventions and inconsistencies. PHP currently has no functions for thread
programming, although it does support multiprocessing programming on POSIX systems.
• As with many scripting languages, PHP scripts are normally kept as human-readable
source code, even on production web servers.65 In this case, PHP scripts will be
compiled at runtime by the PHP engine, which increases their execution speed. PHP
scripts are able to be compiled before runtime using PHP compilers as with other
programming languages such as C (the language PHP and its extensions are written in).
• PHP includes free and open source libraries with the core build. PHP is a fundamentally
Internet-aware system with modules built in for accessing FTP servers, many database
servers, embedded SQL libraries such as embedded PostgreSQL, MySQL and SQLite,
LDAP servers, and others.
• It is open source.
24
9.1 PHP Architecture:
25
10.PROBLEM DEFINITION
The purpose of this system is to provide the customer a facility to reserve his accommodation
through the net so that maximum satisfaction is achieved by the customer with least effort.
The system will also allow the customer to modify his reservation details of the booking already
done.The system also provides an interface to the hotel administrators for enlisting themselves
with the system,updating their current status of the facilities.
11.SIGNIFICANCE
If a customer wants to know the list of hotels in the city,the different amenities provided in each
hotel,types of rooms available ,the rate constraints,availability of desired types of rooms on
desired dates,he has to approach a travel agencies or guides available or by making enquiries in
person or making through telephone.If the customer wants to make a choice between the hotels
he has to repeat the process for a number of hotels personally or through the middle persons
which is a laborious process and choice is limited.
This is very unsatisfactory to the customer.So we found the necessity of providing all the
information and the facility to reserve his accommodation through the net so that maximum
satisfaction is achievied by the customer.
The solution we are providing to this is that we are developing a website that contains
information about various cities and the reputed hotels in each city along with the facilities,types
of rooms,their rates and also aan interface to reserve his accommodation so that the customer can
choose the hotel of his interest.
26
12.SYSTEM DESIGN
Based on the requirements and specifications,the system design was carriedout to give detailed
description of input screens, output screens,table descriptions.The ststem has been designed to
provide easy entry of data .Data can be entered in the form of database tables.Reports are also
generated.The system has been designed to reduce workload inconsistencies,redundancy of data
and also to improve transparency
12.1INPUT DESIGN:
Using system analysis,input screens are designed for the purpose of data entry like adding new
information, retrieving data for updating, deleting the data and modifying the data.
12.2OUTPUT DESIGN:
The principal output of the system listing and reports. the listing are generated using list boxes.
The listings main purpose is viewing records from database without any modification. The
reports are generated using crystal reports. The reports include hotel facilities wise , names of all
hotels in city wise, depending on the purpose of the user specification and choice.
27
14. ADVANTAGE:
I have designed the given proposed system in the PHP to automate the process of a particular
Hotel.
This project is useful for the authorities which keep track of all the users .The authority can add
hotel packages, room details, availability of rooms, online booking etc.
The following steps that give the detailed information of the need of proposed system are:
Performance: During past several decades, the records are supposed to be manually
handled for all activities. The manual handling of the record is time consuming and
highly prone to error. To improve the performance of the Hotel Management System, the
computerized system is to be undertaken. This project is fully computerized and user
friendly even that any of the members can see the report and status of the company.
Efficiency: The basic need of this website is efficiency. The website should be efficient
so that whenever a new user submits his/her details the website is updated automatically.
This record will be useful for other users instantly.
Control: The complete control of the project is under the hands of authorized person who
has the password to access this project and illegal access is not supposed to deal with. All
the control is under the administrator and the other members have the rights to just see
the records not to change any transaction or entry.
Security: Security is the main criteria for the proposed system. Since illegal access may
corrupt the database. So security has to be given in this project.
28
15. ENTITY RELATIONSHIP DIAGRAM (ERD)
Entity – Relationship Diagram: This depicts relationship between data objects.
The attribute of each data objects noted in the entity- relationship diagram can be
described using a data object description. Data flow diagram serves two
purposes:
1. To provide an indication of how data are transformed as they move through
the system.
2. To depict the functions that transformation the data flow.
Data Objects: A data object is a representation of almost any composite
information that must be understood by the software. By composite information,
we mean something that has a number of different properties or attributes. A
data object encapsulates data only there is no reference within a data object to
operations that act on the data.
Attributes: Attributes define the properties of a data object and take on one of
three different characteristics. They can be used to:
Name an instance of data object.
Describe the instance.
Make reference to another instance in other table.
29
ERD Diagram
30
31
DATA FLOW DIAGRAM:-
32
33
34
35
15. Future scope and further enhancement of the Project:
• Expanding the project scope for other hotels also.
• Blogs and feedback can be displayed on the website itself.
• Developing a User Login tool for the regular customers.
• Developing the feature of emailing or contacting the person for special offers.
16. Bibliography:
WEBSITES:
• http://www.wikipedia.com
• http://www.phpbb.com
• http://www.php.net
• http://www.google.com
BOOKS:
36
SNAPSHOTS
37
38
39