Professional Documents
Culture Documents
FIGURES &ABBREVATIONS
1.1LIST OF FIGURES
ABBREVATIONS DESCRIPTION
A digital library, also called an online library, an internet library, a digital repository,
or a digital collection is an online database of digital objects that can include e-book formats
or a library accessible through the internet. Objects can consist of digitized content like e-
book or In addition to storing content, digital libraries provide means for organizing,
searching, and retrieving the content contained in the collection. Digital libraries can vary
immensely in size and scope, and can be maintained by individuals or organizations. The
digital content may be stored locally, or accessed remotely via computer networks. These
information retrieval systems are able to exchange information with each other through
interoperability and sustainability.
2.3 ABSTRACT
The Online Library System in PHP is a simple project developed using PHP,
JavaScript, and CSS. The project contains an admin and user side. The admin side manages
all the management like adding books, deleting books, and edit details of books. The admin
has an important role in the management of this online library system.
For the user section, the users can log in as a student if they already had an account,
otherwise, he/she has to fill up the signup form to register as a student.
OBJECTIVES
Providing the online digital library interface for students, faculty.
Increasing the efficiency of digital library.
Decrease time required to access and delivers book for students
To make the system more secure using credentials.
PURPOSE
The purpose is to design a website which contains up to date information of the
student records. That should improve efficiency of library book management.
It needs to provide a simple interface for the maintenance of digital library.
The system needs to provide a secure access to the users so that other than the users
no can able to access the data.
SYSTEM STUDY
3.1 SYSTEM STUDY
This system saves the time of the student. It includes student registration.
This system help to students education. They get more knowledge through digital
library
This makes the system easy to handle and feasible for student use.
As part of the proposed system, Admin will have the opportunity to manually
add their e-books to the digital library.
Students can also view e-books and download through the database that has
been added and so they are able to see & download whenever they wish.
There are several advantages to the proposed system: User-friendly interface,
Fast access to data, Large storage capacity.
Through the idea of computerization, the online DIGITAL LIBRARY in PHP
MYSQL.
SYSTEM
REQUIREMENTS
4. SYSTEM REQUIREMENTS
It provides the local server and database for the execution of the project.
It manages the computer's memory and processes, as well as all of its software and
hardware.
Provides the instructions and processing power the computer needs to do its work.
Ram: 4 GB.
It is used as a short-term memory for computers to place its data for easy access.
It is essential for the storage and operation of the BIOS, but it can also be used for
basic data management, to hold software for basic processes of utilities and to read and write
to peripheral devices.
TECHNOLOGIES
The Student Management
System web server must
provide a user interface that
will be
accessible through any internet
brows
HTML
CSS
PHP
PHP is a very powerful server-side scripting language for developing dynamic web
applications.
Using PHP, one can build interactive and dynamic websites with ease.
PHP script can be embedded straight into the heart of html code.
PHP is compatible with various web servers like Apache and the Microsoft’s IIS as
well.
All the PHP scripts are executed on the server and it supports various databases like
MySQL, Oracle, Solid, Generic ODBC etc, however, it is mostly used with MySQL.
SQL
The system has a different segment to process a specific task which is the modules.
This will help the system to develop easily and makes it more user-friendly.
Login Module:
This will help users to login into the system using their id and password. A user who
has the valid id and password can only log in to their respective accounts.
It will help the authentication of the user who enters the system. The module provides
a layer of security over the system as only authorized personnel can login into the
system.
This prevents any anonymous person to enter the system and mishandle the records. It
is better than the manual method as they do not have any security measure of who can
access the system and who cannot.
Registration Module:
In this module, the student will get registered as it is new in the system. It will be
formed like a structure where all the student details will be filled.
It will have the fields regarding their information like register no and name along with
the year of study.
As this module is present online, the student can register them from anywhere on the
internet is present. After registration information will go to the admin for
authentication.
STUDENT MODULE
Each student will be able to select their need e-book. And download
The e-book is also added by the administrator.
It will be added to their information details.
All the e-book will be handled by the administrator.
ADMIN MODULE
Admin
Admin can add e-book.
Admin can edit e-book.
Admin can delete e-book
Student
Security
Every user has his own account and only authorized users can access the system with
username and password.
Performance
User Friendly
The system has a friendly user interface and the system very interactive.
Availability
The systems are available to users anytime, anywhere, just need a PC and Internet
Connection.
Also the system works in multiple web browsers like (Chrome, Mozilla, Opera, and
Internet Explorer).
SYSTEM ANALYSIS
7.1 ER DIAGRAM
ADMIN ER DIAGRAM
STUDENT ER DIAGRAM
Database
7.3 USE CASE DIAGRAM
This part contains the analysis of the functional and non-functional requirements
using use-case diagrams, and use-cases details.
ADMIN
The functions that Admin can do,
Add e-book.
Edit e-book.
Delete e-book.
Upload E-Book
Edit E-book
Delete E-Book
Logout
STUDENT
Registration
Login
Download E-Book
Logout
DESIGN&
IMPLEMENTATION
8.1 DESIGN PHASE
DATABASE DESIGN
For starting your server on Xampp, we simply have to start the services in the Xampp
console which is shown on below screenshot.
After starting this services type local host in your search bar and a page will open. On
this page click on phpMyAdmin option which is shown in below screenshot.
We can also open the Php My Admin by clicking the MYSQL button in Xampp control
panel.
We need to stop the services once the project is closed in the website.
Click on New option which is shown in below screen. After that we have to enter our
database name and then click on Create option to create a new database.
After creating a new database we have to move forward for creating a new SQL table.
Enter the name for your columns in name section which is shown in above screen.
After that enter the data type of the data which we will be adding in our database. In
this we are specifying INT for our ID as our ID will be an integer. And in SQL table
VARCHAR is used for storing strings.
In the length/ values section we have to specify the maximum length of the data which
we will be adding in our table. We will not be specifying length for our ID because it is
added automatically.
After that we have to auto increment our ID. For this we have to check the box which is
shown in above screenshot so that it will be incremented automatically on adding new
data.
For our system we design to design the database according to the required tables and
their records.
And also we need to set types and limitations for the data that is to be entered.
We are going to create a table for the digital library
For student we are add some e-books like book id, name, author and etc.,
FINAL RESULT
BOOKS
STUDENT DETAIL
UI DESIGN
User interface is the one which makes the user feel pleasant of using the system.
The user interface must be attractive and also responsive to the user so that it cannot
make the user feel uncomfortable
Since it is a digital library we can design a dashboard for the main user interface for
better interaction
We can create a header and footer part of the dashboard of the user area
Other than that I have added some buttons such as books etc…
At last we have a sign out button for the user.
INTERFACE USER
8.4 IMPLEMENTATION PHASE
STUDENTS REGISTRATION
As we seen above first we need to enter the name followed by the gender of the student.
By using the reg no we can we can identify each user uniquely.
Select the department of the student.
Click register new the student record is created and added to the database.
DOWNLOAD E-BOOK
CODING
9.SAMPLE CODING
LIB.SPL
CREATE TABLE `book` (
INDEX.PHP
1. <?php
2. include("conn.php");
3. $error="";
4. session_start();
5. if($_SERVER['REQUEST_METHOD'] == "POST" and
isset($_POST['submit']))
6. {
7. $count=0;
8. $data=mysqli_query($conn,"select * from student_registration
where emailid='$_POST[username]
9. password='$_POST[password]'");
10. $count=mysqli_num_rows($data);
11. $row = mysqli_fetch_array($data);
12. if($count==0)
13. {
14. $error= "Invalid username or password";
15. }
16. else
17. {
18. if($row["type"]=="admin")
19. {
20. header("Location:admindas.php");
21. }
22. else{
23. $_SESSION["sname"]=$row["name"];
24. $_SESSION["semail"]=$row["emailid"];
25. $_SESSION["sgender"]=$row["gender"];
26. header("Location:sdb.php");
27. }
28. }
29. }
30. ?>
31. <!DOCTYPE html>
32. <html>
33. <head><title>HOME PAGE</title></head>
34. <style>
35. body{
36. background: url(backforall.jpg);
37. }
38. .box{
39. width:74%;
40. height:170px;
41. border:solid 1px #000000;
42. background-image: url("headback2.jpg");
43. background-size: cover;
44. margin-left: 13%;
45. opacity: .9;
46. border-radius:12px;
47.
48. 73.5%; height:40px; margin-left:13%; margin-top:15px" >
49. <marquee><h6 style="line-height:1px;">Thank You
For Using This System.</h6></marquee>
50.
51.
52. </div>
CONN.PHP
1. <?php
2. define("DBHOST","localhost");
3. define("DBUSERNAME","root");
4. define("DBPASSWORD","");
5. define("DB","lib");
6. $conn = mysqli_connect(DBHOST,DBUSERNAME,DBPASSWORD,DB);
7. ?>
SDB.PHP
1. <?php include("conn.php");
2. session_start();
3. $name=$_SESSION["sname"];
4. $email=$_SESSION["semail"];
5. $gender=$_SESSION["sgender"];
6. $namecap=ucwords($name);
7. ?>
8. <!DOCTYPE html>
9. <html>
10. <style>
11. body{
12. background: url("backforall.jpg");
13. }
14. .box{
15. width:74%;
16. height:160px;
17. background-image: url("headback2.jpg");
18. background-size: cover;
19. margin-left: 13%;
20. opacity: .9;
21. box-shadow:0px 0px 15px black;
22. border-radius:12px;
23. border:solid 1px #000000;
24. }
25. .boxtwo{
26. background-image: url("headback2.jpg");
27. background-size: cover;
28. box-shadow:0px 0px 15px black;
29. border:solid 1px #000000;
30. }
31. ul{
32. padding: 0 ;
33. list-style: none;
34. }
35. ul li{
36. float: left;
37. width: 248px;
38. height: 40px;
39. background-color: #ffc000;
40. opacity: .8;
41. line-height: 40px;
42. text-align: center;
43. font-size: 20px;
44. margin-right: 2px;
45. border-radius: 5px;
46. }
47. ul li a{
48. text-decoration: none;
49. color: black;
50. display: block;
51. }
52. ul li a:hover{
53. background-color: #daa520;
54. }
55. ul li ul li{
56. display: none;
57. }
58. ul li:hover ul li{
59. display: block;
60. }
61. .nav{
62. padding-left:13%;
63. }
64. .box-cnt{
65. box-shadow: 0px 0px 15px black;
66. background:ffc000;
67. float:left;
68. border-radius:12px;
69. overflow: auto;
70. height:400px;
71. width:45%;
72. margin: 2% 2%;
73. float: left;
74. }
75. .box-cnt-h{
76. color:black;
77. text-align: center;
78. padding-top:2px;
79. padding-bottom: 2px;
80. background:#ffc000;
81. border-radius:12px;
82. }
83. .box-table{
84. color: black;
85. text-align: center;
86. border-collapse: collapse;
87. margin:1%;
88. box-shadow: 0px 0px 10px white;
89. height: auto;
90. }
91. .box-table td,tr{
92. border: 1px solid black;
93. }
94. a{
95. color: black;
96. }
97. .searchbox{
98. height: 30px;
99. }
ADMIN.PHP
1. <?php
2. include("conn.php");?
3. <html>
4. <head>
5. <style>
6. body{
7. background: url("backforall.jpg");
8. }
9. tablheight: auto;
10. text-align: center;
11. color: black;
12. font-weight: bold;
13. }
14. th{
15. font-size: 17px;
16. text-decoration: underline;
17. font-style: italic;
18. }
19. .main{
20. width: 80%;
21. box-shadow: black;
22. border-radius: 20px;
23. overflow: auto;
24. margin-left: 10%;
25. margin-top: 2%;
26. height:270px;
27. background: #ffbf00;
28. border-color: black;
29. border: 2px;
30. }
31. .box{
32. width:74%;
33. height:160px;
34. background-image: url("headback2.jpg");
35. background-size: cover;
36. margin-left: 13%;
37. opacity: .9;
38. border:solid 1px #000000;
39. border-radius: 12px;
40. }
41. .boxtwo{
42. background-image: url("headback2.jpg");
43. background-size: cover;
44. box-shadow:0px 0px 15px black;
45. border-radius:12px;
46. }
47. ul{
48. padding: 0 ;
49. list-style: none;
50. }
51. ul li{
52. float: left;
53. width: 200px;
54. height: 40px;
55. background-color: #ffbf00;
56. opacity: .8;
57. line-height: 40px;
58. text-align: center;
59. font-size: 20px;
60. margin-right: 2px;
61. border-radius: 12px;
62. }
63. ul li a{
64. text-decoration: none;
65. color: black;
66. display: block;
67. }
68. ul li a:hover{
69. background-color: #DAA520;
70. border-radius: 12px;
71. }
72. ul li ul li{
73. display: none;
74. }
75. ul li:hover ul li{
76. display: block;
77. }
78. .nav{
79. padding-left:12%;
80. }
81. .three{
82. margin-left: 60%;
83. margin-top: 5px;
84. box-shadow:0px 0px 15px black;
85. }
86. button{
87. margin-top: 10px;
SCREENSHOTS
10. SCREENSHOTS
ADMIN DASHBOARD
ADD E-BOOK
EDIT E-BOOK`
DELETE E-BOOKS
STUDENT LOGIN
REGESTRATION PAGE
STUDENT DASHBOARD
11.1 CONCLUSION
The advantages of digital libraries as a means of easily and rapidly accessing books, archives
and images of various types are now widely recognized by commercial interests and public
bodies alike.
Traditional libraries are limited by storage space; digital libraries have the potential to store
much more information, simply because digital information requires very little physical space to
contain it. As such, the cost of maintaining a digital library can be much lower than that of a
traditional library. A physical library must spend large sums of money paying for staff, book
maintenance, rent, and additional books. Digital libraries may reduce or, in some instances, do
away with these fees. Both types of library require cataloging input to allow users to locate and
retrieve material. Digital libraries may be more willing to adopt innovations in technology
providing users with improvements in electronic and audio book technology as well as
presenting new forms of communication such as wikis and blogs; conventional libraries may
consider that providing online access to their OP AC catalog is sufficient. An important
advantage to digital conversion is increased accessibility to users. They also increase availability
to individuals who may not be traditional patrons of a library, due to geographic location or
organizational affiliation.
No physical boundary: The user of a digital library need not to go to the library physically;
people from all over the world can gain access to the same information, as long as an Internet
connection is available.
Round the clock availability: A major advantage of digital libraries is that people can gain
access 24/7 to the information.
Multiple access: The same resources can be used simultaneously by a number of institutions and
patrons. This may not be the case for copyrighted material: a library may have a license for
"lending out" only one copy at a time; this is achieved with a system of digital rights
management where a resource can become inaccessible after expiration of the lending period or
after the lender chooses to make it inaccessible (equivalent to returning the resource).
Information retrieval: The user is able to use any search term (word, phrase, title, name,
subject) to search the entire collection. Digital libraries can provide very user-friendly interfaces,
giving click able access to its resources.
Preservation and conservation: Digitization is not a long-term preservation solution for
physical collections, but does succeed in providing access copies for materials that would
otherwise fall to degradation from repeated use. Digitized collections and born-digital objects
pose many preservation and conservation concerns that analog materials do not. Please see the
following "Problems" section of this page for examples.
Space: Whereas traditional libraries are limited by storage space, digital libraries have the
potential to store much more information, simply because digital information requires very little
physical space to contain them and media storage technologies are more affordable than ever
before.
Added value: Certain characteristics of objects, primarily the quality of images, may be
improved. Digitization can enhance legibility and remove visible flaws such as stains and
discoloration.