Summer Internship Project On: "Basics of PHP"
Summer Internship Project On: "Basics of PHP"
“BASICS OF PHP”
Submitted in partial fulfilment of the requirements
BCA
Submitted by:
HARSHIT ADHIKARI
Enroll No. A50504819011
07 September 2021
I
AMITY INSTITUTE OF INFORMATION TECHNOLOGY
HARYANA
DECLARATION
ADHIKARI
II
AMITY INSTITUTE OF INFORMATION TECHNOLOGY
HARYANA
ACKNOWLEDGEMENT
I am extremely thankful to our course coordinator Dr. Meenu Vijarania for his
valuable time, guidance and encouragement, otherwise it would have been difficult to
keep the constant high spirit of work.
I also thank all my Friends who have more or less contributed to the preparation of this
Project report. I will be Always indebted to them.
The study has Indeed helped me to explore more knowledgeable avenues related to my
topic and I am sure It will help me in my future.
HARSHIT ADHIKARI
III
AMITY INSTITUTE OF INFORMATION TECHNOLOGY
HARYANA
CERTIFICATE
IV
ABSTRACT
This project is aimed to developing an online Blood Bank Information. The entire
project has been developed keeping in view of the distributed client server computing
technology, in mind. The Blood Donation Agent is to create an Information about the
donor and organization that are related to donating the blood. Through this application
any person who is interested in donating the blood can register himself in the same way
if any organization wants to register itself with this site that can also register. "ore over if
any general consumer wants to make request blood online, he can also take the help of
this site. Admin is the main authority who can do addition, deletion, and modification if
required. The project has been planned to be having the view of distributed architecture,
with centralized storage of the database. The application for the storage of the data has
been planned. MySQL ser interface and all the user interfaces have been designed using
the PHP technologies. The database connectivity is planned using the ' Connection
methodology. The standards of security and data protective mechanism have been given
a big choice for proper usage. The application takes care of different modules and their
associated reports, which are produced as per the applicable strategies and standards that
are put forwarded by the administrative staff.
V
LIST OF FIGURES
VI
CONTENTS
CONTENTS PAGE
NO.
DECLARATION II
ACKNOWLEDGEMENT II1
CERTIFICATE IV
ABSTRACT V-VI
LIST OF FIGURES VII
VII
CHAPTER 4: IMPLEMENTATION AND RESULTS 16-30
4.1 Getting started 17-18
4.2 Linking and designing more pages 19
REFERENCES 37
VIII
CHAPTER – 1
INTRODUCTION
Blood is classified into groups (A and subgroups, B, 0 or AB) and based on the Rhesus
factor (Rh+ or Rh-), and each donor should be correctly matched with the patient who
receives his/her blood. Moreover, as it may transmit diseases, blood must be screened
before utilization. Generally, there are two types of donation: whole-blood donation, in
which the whole blood is directly collected in a plastic bag, and apheresis, i.e., the
1
donation of specific components in which a mechanical gathering unit decays the required
blood parts.
Blood requires particular precautions for collection and storage, and its shelf life from
donation to utilization is limited, thus requiring a continuous feeding of the (Greening et al.
2010). Hence, a successful BD supply chain should meet the daily demand of blood and
follow its temporal pattern. According to Sundaram and Santhanam (2011), BD supply
chain and the related management problems can be classified based on the main phases of
a blood bag life: donor registration, blood collection, blood screening/evaluation, inventory
storage and delivery. A slightly different classification is proposed in Pierskalla (2004),
according to which the management of BD supply chain concerns both strategic decisions
(e.g., location of blood centers) and tactical operational decisions (e.g., production of
multiple products, control of inventory levels, blood allocation to hospitals, and delivery to
multiple sites). In our review, we refer to the first classification scheme. Many papers
address the management of the BD supply chain (see Belin and Force (2012) for a recent
survey); however, there are still some open issues. The aim of this paper is reviewing the
literature related to the BD system management and classifying the existing research based
on the process phase, in order to highlight unexplored issues and to point out alternative
perspectives and possible future research opportunities. In section “Phases of Blood
Donation System” we give details about the BD system and survey the existing literature
(review updated at December 2014); then in section “Discussion and Open Issues” we
discuss the open issues and propose future research directions.
2
1.2 Objective
The main aim of developing this system is to provide blood to the people who are in need of
blood. The number of persons who are in need of blood are increasing in large number day
by day. Using this system user can search blood group available in the city and he can also
get contact number of the donor who has the same blood group he needs.
In order to help people who are in need of blood, this Online Blood Bank management system
can be used effectively for getting the details of available blood groups and user can also get
contact number of the blood donors having the same blood group and within the same city.
So, if the blood group is not available in the blood bank user can request the donor to donate
the blood to him and save someone life. Using this bank management system people can
register himself or herself who want to donate blood. To register in the system, they have to
enter their contact information like address mobile number etc.
3
1.1 Description of the organization
4
Fig 1.2 Codecademy logo [1]
Codecademy is an American online interactive platform that offers free coding classes in 12
different programming languages including Python (pandas-Python library, Beautiful Soup-
Python Library), Java, Go, JavaScript (jQuery, AngularJS, React.js), Ruby (Ruby on Rails-
Ruby framework), SQL, C++, C#, Swift, and Sass, as well as markup languages HTML and
CSS. The site also offers a paid "Pro" option that gives users access to personalized learning
plans, quizzes, and realistic projects.
Codecademy was founded in August 2011 by Zach Sims and Ryan Bubinski. Sims dropped
out of Columbia University to focus on launching a venture, and Bubinski graduated from
Columbia in 2011.The company, headquartered in New York City, raised $2.5 million in
Series A funding in October 2011 and $10 million in Series B funding in June 2012. The
latest round of funding was led by Index Ventures. Crunchbase reports an additional Series
C round of funding for an undisclosed amount, by Bloomberg Beta in June 2013.
On July 22, 2014, the site appeared with a new redesigned dashboard.
In August 2015, Codecademy partnered with the White House, willing to host in-person
meet-ups for 600 students from disadvantaged women and minority groups over a twelve-
month period.
By August 2017, Codecademy's CEO Zach Sims officially announced the launch of the new
paid "Pro" product. A "Pro Intensive" paid offering was also launched in August 2017 but as
of 2020 this product appears to no longer be offered.
5
1.2 CERTIFICATE
6
CHAPTER-2
BACKGROUND STUDY
For hospitals, a blood bank known as blood collection center, also is an area in which
collected blood bags are stored and preserved for future use in blood transfusion services.
Blood transfusion is a medical operation where a patient requires blood or blood products
as a life saving measure. In a report by Ministry of Health (MoH) in its website, it
mentioned that the total amount of blood donated annually in Muscat is
approximately 25,084 units. MoH further reported that its Department of
Blood Services is functioning at full capacity to meet the demands in the Sultanate.
Most blood banks are still running manual system in its processes. As such, there is a lack
of efficiency because it is still paper-based in collecting information about donors,
inventories of blood bags, and blood transfusion services.
The lack of proper documentation may endanger patients’ health due to the possibility of
having contaminate blood bags. Contamination happened when there is an incomplete
donors’ medical history record and the blood bags’ shelf life is not monitored properly.
Hence, a web-based blood bank management system might be needed to address these
issues and problems encountered to ensure blood transfusion safe
7
2.1 PROBLEM STATEMENT
Despite advances in technology, today's blood bank systems are running in manual system.
As such, there is a prevalent problem in the availability of needed blood types. For
instance, when a person needs a certain type of blood and this type is not available in the
hospital, family members send messages through social media to those who can donate to
them and this process takes longer than the life of the patient to the most dangerous. In
addition, it seems that there is lack of proper documentation about blood donors and its
medical history. This may lead to blood bag contamination and may affect the blood
transfusion safety.
Generally, this study aims to determine how the use of online bank management system
enhance blood transfusion safety. Subsequently, this study seeks to answer the following
specific problems:
1) What are the expected system users?
2) What is the system architecture to use?
3) What is the level of risk in blood transfusion in Oman?
4) To what extend the online bank management information system can enhance
blood transfusion safety?
5) Is there a significant difference in the level of risk in blood transfusion between manual
blood and online blood bank system?
8
2.2 ASSUMPTIONS AND HYPOTHESIS
9
CHAPTER -3
DESIGN OF PROJECT
Now that we’re aware of web development, web designing and architecture of the
website which had been the background pillars or concept used in the development
of this project. Therefore, now we’ll discuss about the operation environment and
the various Web development technologies used in this project.
1. Hardware Configuration
• RAM: 8GB
2. Software Configuration
10
3.2 TECHNOLOGIES USED
The Front is an abstraction, simplifying the underlying component by providing a
user-friendly interface. There are several tools or technologies available that can be
used to develop the front- end of a website.
HTML (Hypertext markup language) is the most basic building block of the web. It
describes and defines the content of a webpage. “Hypertext” refers to links that
connect webpages to one another, either within a single website or between websites.
Links are a fundamental aspect of the web. By uploading content to the internet and
linking it to pages created by other people, one becomes an active participant in the
World Wide Web (WWW). HTML uses “markup” to annotate text, images and other
content for display in a web browser.
11
• CASCADING STYLE SHEETS (CSS)
Cascading Style Sheets (CSS) is a style sheet language used for describing the
presentation of a document written in a markup language. CSS is designed
primarily to enable the separation of document content from document presentation,
including aspects such as the layout, color fonts. It allows one to adapt the
presentation to different types of devices, such as large screens, small screens, or
printers. CSS is independent of HTML and can be used with any XML based
markup language.
12
• JAVASCRIPT
JavaScript is the client-side scripting language of the web. It‟s one of the most
popular and in- demand skills in today‟s job market for good reason. JavaScript not
only enables you to add powerful interaction to websites, but is also the foundation
of a lot of commonly used libraries like jQuery.
13
• PHP (Hypertext Preprocessor)
The PHP Hypertext Preprocessor (PHP) is a programming language that allows web
developers to create dynamic content that interacts with databases. PHP is basically used for
developing web-based software applications. This tutorial helps you to build your base with
PHP.
14
• MYSQL
MySQL is a relational database management system based on the Structured Query
Language, which is the popular language for accessing and managing the records in the
database. MySQL is open-source and free software under the GNU license. It is supported
by Oracle Company.
15
CHAPTER - 4
IMPLEMENTATION AND RESULTS
In this section discusses findings and observations done by some research works
on web- based blood bank management system
In this project, we'll be building our very own Blood bank using HTML CSS for
Front end part and for back end we will be using PHP AND MYSQL
For storing the information in the databases
Note:
✓ In my case I have used xampp software best known it for database
connectivity through php it become quite easy to directly create, update,
delete or modify the table in the databases.
✓ For writing the codes I have use Visual studio code editor as here we can
many features and Sometimes also get suggestions for fixing the error help
while writing the codes basically connectivity become easier.
✓ Used some google fonts scripts and JavaScript's in web-page for better
preview
16
4.1 Getting Started
17
First of all, we will be designing the front – End part of the website using
HTML, CSS and JAVASCRIPT and for this we have design the homepage page
of our website as you can see in the given screenshot
18
4.2 Linking and designing more pages
Here after we will be designing and linking more pages for our further requirement and before
linking the web-pages we should know what we are linking and why we are linking thereafter
as you know our project is Blood bank management system, So we have made two main
pages one for the hospital and for another for the receiver but for this first of all user must be
registered by filling the proper Information and here after he/she can login and easily check
the status what are the currently blood samples available so he can request that sample.
19
Proposed system
The proposed Blood Bank management system helps the people who are in need
of a blood by giving them all details of blood group availability or regarding the
donors with the same blood group.
The people in need of blood can search for the donors by giving their blood
group and city name. it saves time as he can search donors online without going
anywhere. Using this system user can get blood in time and can save his relative
or friend life. Our website work 24x7 so user can get information of blood donor
any time. Blood donor can also get registered and save life of other person. The
main benefit of this system is the information of available blood group. When
blood is need in the operation then people have very less time to get the blood
available so if he get the information like who can give him blood in time in his
city is life saving. And here our system work, whenever a person need blood he
get information of the person who has the same blood group he needs.
20
MODULES OF BLOOD BANK MANAGEMENT SYSTEM
Online Blood Bank management system is to provide services for the people
who are in need of blood by getting help from the donors who are interested in
donating blood for the people. There are seven main modules in this system.
• Admin
• Hospital Registration
• Receiver Registration
• Acceptors
21
Admin:
Admin can manage both receiver & acceptors. He can add or remove any user
from the system. Each member in a donor & acceptor is given a user id and
password, which identifies him uniquely. From admin module use can change
donor details, delete donor or change the password.
· Change Password
· Logout
Whenever a user wants to change his / her password he can select the change
password option. The system displays the form, which asks him for his old
password and new password. The system then compares the old password with
the existing password in the database and if they match then the password is set
to the new password in the database.
22
Hospital
From this module user can create their account, when user create his account the user get a
user id and password, which identifies him uniquely. From this module user can search
donor for blood and can also refer his friend to become a donor. Donor can also get
information like when he donated blood or when he will be able to donate blood.
Hospital Registration
In this module, people who are interested in donating blood get registered in my site and
give his overall details related to him, i.e. he fills in a registration form by giving the total
details such as name, address, city, sex, wt, dob, blood group, telephone numbers, e-mail
address, etc. He was also given two fields’ username and password to fill such that he was a
registered donor and he can enter the login form with his username and password and can
modify his details if needed.
23
Following links are available on Homepage
· Sign in
· Update profile.
· Logout
Acceptors
This module helps user to find blood group. When user click on find a blood group system
ask him to enter blood group he wants to search. After entering the blood group, system
search for the availability of the blood group and give him the list of the donors who has the
same blood group. Whenever a user wants to change password, he can select the change
password option. Then system ask the user to enter old username and password then system
check the credentials and change the password. Clicking on logout button user can log out
from the system.
24
4.3 How to import and open database
Firstly, we Will import our Sql file (basically database file) for that you should
have XAAMP and MYSQL preinstalled on your pc
here are Some following steps which you can follow:
Third, copy the project folder and paste it into the xampp/htdocs folder.
25
Step 3, open xampp and start the apache and MySQL.
26
Seventh, click on browse file and select “bloodbank_db.sql” file which is inside “database”
folder and after import click “go “.
27
4.4 Connecting and defining elements
We have created 4 tables of naming blood info, blood request, hospitals, receivers and
interested the data in them and also define primary and forgien key in the table for better
understanding.
After that I have create a file connection.php through which I am connecting to my database
as you see in the given screenshot
28
4.5 Checking database
open a browser and go to URL “http://localhost/phpmyadmin/”
You directly do the changes you want to do and can remove the unnecessary entries or
correction in the database it quickly updates the data and also save your time
29
Fig4.6 [4] how front-end and back-end works
30
CHAPTER -5
SNAPSHOT OF THE PROJECT
31
5.2 Request for blood Sample
32
5.3 Adding blood group information
33
5.4 If Hospital want to update any information
34
CHAPTER -6
6.1 CONCLUSION
35
6.2 SCOPE FOR FUTURE WORK
This research study covers the three basic operations of blood banks,
namely: donor registration, monitoring of blood bags or products’
inventories, and monitoring of blood bags or products’ issuance. Also,
due to time-constraint, respondents will be from hospitals from North
Batinah Region in the Oman, though the research study talks about
blood banks in the Sultanate of Oman. In addition, the study considers
three possible users of the system, namely: hospital administrator,
doctors, and blood receptionists
36
REFERENCES
1. https://www.w3schools.com/html/default.asp
2. https://www.weblineindia.com/
3. https://acodez.in/scope-of-web-development/
4. https://frontendmasters.com/
5. https://status.net/templates/project-summary-report-template-
free- download/
37