PARUL O LEVEL PROJECT
PARUL O LEVEL PROJECT
PARUL O LEVEL PROJECT
O-Level
Under The Guidance of Submitted By
1
Proforma of the Project Completion Certificate
This is to certify that the Project work done at Library Management System BY
NIELIT ‘O’ Level Examination has been found satisfactory. This report has not been
submitted for any other examination and does not form part of any other course undergone
by the candidate
It is further certifies that he/she has appeared in all the four modules of NIELIT ‘O’ Level
Examination.
(or)
Address:
(or)
Qualification MCA
2
ABSTRACT
Library is place where all kind of books are available. Intranet Library Management system
is a web based application. This system contains list of all the books and can be accessed by remote
users concurrently from any where in the campus. But for that users must be registered user. This system
is three tier architecture.
Client sends requests, on receiving the request the server processes it and extracts the data
from database and sends the result back to the client. This system provides separate interface and login
for librarian, students and faculties. Librarian can modify database.
Users can search for books and renewal books online. They can recommend for new books
by just sending messages to the librarian from any where in the college. They can view the issue and
return dates of any book and due they have to pay. This system generates reports that can be used in
analyzing the library performance. Thus the management can take appropriate steps to improve the
facilities.
3
Sr. No. CONTENTS Page No.
1. Introduction 6
2. Analysis 7
5. Implementation 13-16
7. Conclusion 19
8. Future Enhancements 20
4
5
INTRODUCTION:
As the modern organizations are automated and computers are working as per the
instructions, it becomes essential for the coordination of human beings, commodity and
computers in a modern organization. This information helps the distributors to purchase or
sale the products very efficiently.
The administrators and all the others can communicate with the system through
this project, thus facilitating effective implementation and monitoring of various activities
of the distributor of a supermarket.
6
RULES FOR DFD:
7
0 level DFD
8
1 level DFD
9
E-R Diagrams:
10
DATABASE TABLES:
11
Book Return:-
12
13
Login Page
14
CODING
15
Sql Connection:-
<?php
$con=mysql_connect("localhost","root","");
if(!$con)
{
die(mysql_error());
}
mysql_select_db("library");
Login Code:-
<?php
session_start();
include("sqlcon.php");
if(isset($_POST["submit"]))
{
if($_POST[usrtype] == "Student")
{
$result=mysql_query("select * from student where regno='$_POST[name]'and
password='$_POST[pw]'");
if(mysql_num_rows($result) == 1)
{
$row=mysql_fetch_array($result);
$_SESSION["sid"]=$_POST["name"];
$_SESSION["usrtype"]="Student";
$_SESSION['name']=$row[name];
$_SESSION[img]=$row[imag];
header("Location: mainpage.php");
}
16
}
else if($_POST[usrtype] == "Staff")
{
$result=mysql_query("select * from staff where login_id='$_POST[name]'and
password='$_POST[pw]'");
if(mysql_num_rows($result) == 1)
{
$row=mysql_fetch_array($result);
$_SESSION["sid"]=$_POST["name"];
$_SESSION["usrtype"]="Staff";
$_SESSION['name']=$row[name];
header("Location: staffmainpage.php");
}
}
else
echo "Invalid username or password";
}
include("header.php");
?>
<html>
<head>
<title>Login</title>
</head>
<body>
<div id="templatemo_content_container">
<div id="templatemo_content">
<div id="templatemo_content_left">
<div class="templatemo_post">
<div class="post_title">
17
LOGIN
CONCLUSION:
The package was designed in such a way that future modifications can be
done easily. The following conclusions can be deduced from the development
of the project.
19
20
FUTURE ENHANCEMENTS:
This application avoids the manual work and the problems concern with it.
It is an easy way to obtain the information regarding the various products information that
are present in the Library of a particular college.
Well I and my team members have worked hard in order to
present an improved website better than the existing one’s regarding the information about
the various activities. Still ,we found out that the project can be done in a better way.
Primarily, when we request information about a particular product it just shows the
company, product id, product name and no. of quantities available. So, after getting the
information we can get access to the product company website just by a click on the product
name .
The next enhancement that we can add the searching option. We
can directly search to the particular product company from this site .These are the two
enhancements that we could think of at present.
21
22