Online Gifts Shopping: Bachelor of Computer Science BY Muhil Arasan P (DEPT NO: 15-CS-133)

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 67

ONLINE GIFTS SHOPPING

Submitted for the partial fulfillment of the requirements

for the award of the degree in

BACHELOR OF COMPUTER SCIENCE

BY

MUHIL ARASAN P

(DEPT NO: 15-CS-133)

Under the Guidance of

Prof. JASMINE JINITHA MCA,M.Phil.,

DEPARTMENT OF COMPUTER SCIENCE

LOYOLA COLLEGE (AUTONOMOUS)

CHENNAI – 600034
BONAFIDE CERTIFICATE

This is to certify that the project work entitled “ONLINE GIFTS


SHOPPING” is being submitted to Loyola College (Autonomous), Chennai-
600034 by MUHIL ARASAN P (15-CS-133) for the partial fulfillment for the
award of degree of Bachelor of Computer Science is a Bonafide record of work
carried out by him, under my guidance and supervision.

HEAD OF THE DEPARTMENT PROJECT GUIDE

Dr.M.NESTER JEYAKUMAR M.Sc.,M.E.,Ph.D ., Prof. JASMINE JINITHA MCA.,M.Phil.

The Viva-Voce Examination held on at Loyola College


(Autonomous), Chennai – 600034.

INTERNAL EXAMINER EXTERNAL EXAMINER


Abstract:

The project is a web based shopping system for an existing shop. The project
objective is to deliver the online shopping application into android platform. The
project is an attempt to provide the advantages of online shopping to customers of the
real shop. It helps buying the products in the shop anywhere through internet by using
an android device. This system can be implemented to any shop in the locality or to
multi dimensional branded shops having retail outlet chains . since application in the
smart phone it is easy to accessible and always available. Online gifts shopping
project is a web portal project is implemented in web platform using PHP
programming language. The project is the advanced method of selling gifts through
online application. As I present trend online shopping has became a best place for
buying products so much branded companies selling their products through online
web portals nike, adidas, reebok this application also works on some principles users
need to register with application and select the product from categories and add
product to chart and buy product by selection online payment on deleivery.

Front End:PHP

Back End:MYSQL
ACKNOWLEDGEMENT

First, I would like to thank the Almighty without whom this task would have
not been achieved. I express my sincere and profound gratitude to our college
principal Rev.Dr.M.AROCKIASAMY XAVIER, S.J. and Deputy Principal
Dr.FATIMA VASANTH for their encouragement and support to do my
project in our computer Lab.

I would also like to thank our Head of the Department, Dr.M.NESTER


JEYAKUMARM.Sc.,M.E.,Ph.D and our Co-ordinator
Dr.S.BHARATHIDASAN M.sc.,M.phil.,M.B.A.,Ph.Dfor their support to
finish this project.

My special thanks to Prof. JASMINE JINITHA MCA.,M.Phil., who gave me


the needed information and encouragement for the successful completion of
this project.

I take this opportunity to thank all the staff members and the Lab
Administrators of the Computer Science Department who rendered their help
directly to finish my project in time.

Last but not the least, I would like to express my hearty thanks to my parents,
without whom I would not have come to this level in my life. My hearty thanks
to my friends and well-wishers who supported and encouraged me to complete
this project successfully.

MUHIL ARASAN.P
(15-CS-133)
TABLE OF CONTENTS
CHAPTER CONTENTS PAGE NO
1. INTRODUCTION
SYSTEM ANALYSIS
2.1 Problem Definition
2.2 Existing System
2. 2.3 Proposed System
2.4 System Requirements
2.4.1 Hardware Requirements
2.4.2 Software Requirements
SYSTEM DESIGN
3.1 Architectural Design
3. 3.2 Database Design
3.3 GUI Design
4. PROJECT DESCRIPTION
SYSTEM DEVELOPMENT
5. 5.1 Language/Tool
5.2 Pseudo Code
SYSTEMTESTING AND
6. VALIDATIONS
6.1 Test Cases and Testing
6.2 Validations
7. USER MANUAL
8. SYSTEM IMPLEMENTATION
9. CONCLUSION
10. FUTURE ENHANCEMENT
11. BIBLIOGRAPHY
APPENDIX A – DATA DICTIONARY
APPENDIX B– SAMPLE CODING
APPENDIX C– SAMPLE OUTPUT
CHAPTER 1

INTRODUCTION
INTRODUCTION

E-commerce is fast gaining ground as an accepted and used business


paradigm. More and more business houses are implementing web sites providing
functionality for performing commercial transactions over the web. The objective of this
online gifts shopping system project is to develop a general-purpose ecommerce store
where any gifts product can be bought from the comfort of home through the Internet.
This project “ONLINE GIFTS SHOPPING” is a web-based application which help the
Customers and Distributors. In this project the user can view the details and can order
gifts product in online. They can know the detailed status of their product. The admin can
manage the products and also manage the ordered received to him.
CHAPTER 2

SYSTEM ANALYSIS
SYSTEM ANALYSIS

2.1 PROBLEM DEFINITION

As of now, most of the online mobile shopping websites don’t have a user -friendly
website. Even, if they have the users/customers are not able to use it efficiently as it is
not well maintained. While in this project the users can view the product and view
detailed information of the product and then add to their cart and pay by cash on delivery.
They can have the view of their order status which is managed by the admin .

2.2 EXISTING SYSTEM:

The existing system is manual system. Needs to be converted into an automated system. Risk of
mismanagement of data in the online gifts shopping system. Less security in purchasing. No
proper coordination between different application and the users. Fewer users friendly accuracy
not guaranteed in the gifts shopping system. Not in reach of distant users. If we need to buy a gift
it is long process as the user has to approach the shop and it consumes tome and manual power.

2.3 PROPOSED SYSTEM:

Online gifts shopping system. The development of the new system. Which we try to
automate the entire process keeping in view of the database integration approach. User
friendliness is provided in the application with various controls. The system makes the overall
project management much easier and flexible. There is no risk of data management at any level
while the project development in the under process. It provides high level security with the
different level of authentication. Users from any part of the world cam make use of the system.
New users will process accurate results. New system will be much better in performance as
compared to existing one. If we need to buy a gifts in this system it is a short process.
2.4 SYSTEM REQUIREMENTS (Minimum)

2.4.1 HARDWARE REQUIREMENTS

• Processor: I 3 Processor

• Primary Memory: 2 GB (RAM)

• Secondary Memory: 10 GB (Hard disk drive)

2.4.2 SOFTWARE REQUIREMENTS

• Platform: MS Windows 7

• Front-end: PHP

• Back-end: MYSQL

• Languages: HTML, CSS, PHP, JS

• Web browser: Internet Explorer / Chrome / Mozilla Firefox / Safari


CHAPTER 3

SYSTEM DESIGN
SYSTEM DESIGN

System design is the process of defining the architecture, modules, interfaces, and
data for a system to satisfy specified requirements.

3.1 ARCHITECTURAL DESIGN

Architectural design is the high-level structure. It is an early stage of the system


design process. It represents the link between specification and design processes and
carried out in parallel with some specification activities.

DATA FLOW DIAGRAM:

LEVEL 0:
LEVEL 1:

LEVEL 2:
USE CASE DIAGRAM

Online gifts shopping system

manage users

Manage gift types

Ship orders

admin
View orders

Create invoice

agents Login and logout from


system

Update profile

Search gifts

Add to cart

Make payment

Collect return item


Table design:

Login table

S.NO Field name Data type Size Constraint


1 User_name varchar 20 Primary key
2 Password varchar 20

Customer table:

S.NO Field name Data type Size Constraint


1 Username varchar 10 Primary key
2 Password varchar 30
3 Name varchar 101
4 Address varchar 300
5 Contact no varchar 10
6 Email varchar 50

Purchase table:

S.NO Field name Data type Size Constraint


1 Pur_id varchar 10 Primary key
2 Item name varchar 300
3 Rate varchar 10
4 Item category varchar 300
5 Quantity Integer 5

6 Date Date ti,me


3.3 Graphical User Interface (GUI) DESIGN

0NLINE GIFTS SHOPPING SYSTEM

Customer portal

Customer :

LOGIN

New customer? Register

Password:

New customer? Register


New customer registration

Name :

Gender : male female

Contact : Email :

Address :

Door no:

Street:

District:

State:

Pin:

Username:

Password:

Confirm password:

I agree the terms and condition

Register

CHAPTER 4
PROJECT DESCRIPTION

PROJECT DESCRIPTION

There are several modules in the proposed system, which will help the end user to
interact with the system with ease. The below specified are key modules which are
integrated in the project.

1. ADMIN
2. VISITORS
3. USERS

Admin:

 Manage gift and gifts category:


 Admin can Manage all type gifts and gifts category.
 Manage Customer:
 Admin can manage customer.
 Manage Order:
 Admin can manage orders received by the user
 Manage Feedback:
 Admin can view feedbacks received by user.

Visitors:

 Search Products:
 Customer can search various products.
 View Gifts Category:
 Customer can view gifts category and products.
Users:

 Registration:
 New Customer can register in our web site.

 View product and product category:


 Customer can view the product and product category.
 Search product:
 Customer can search the various gifts.
 Login:
 Already registered Customer can login in our web site.
 Add to Cart:
 Customer can add selected product to their cart.
 Buy product:
 Customer can purchase the gifts.
 Feedback:
 Customer can give the feedback to admin.
CHAPTER 5

SYSTEM DEVELOPMENT

5.1 LANGUAGE/TOOLS

HYPERTEXT PREPROCESSOR (PHP)

PHP Hypertext pre-processor, is a widely used, general-purpose scripting language that


was originally designed for web development, to produce dynamic web pages. It can be
embedded into HTML and generally runs on a wed server, which needs to be configured
to process PHP code and create web page content from it.

PHP was originally createdby “RASMUS LERDORF” in1995.He has developed PHP to
monitoring his online resume and related personal information. At first PHP was named
as Personal Home Page. First version is PHP and php2.0 released in the year 18-6-1995.
In 1997 the name was formally changed to “PHPHypertext Pre-Processor”. PHP-3
released in the year 1998 “PHP core” was released in the May of 2000 with a new
concept called ZEND engine 1.0.

5.1.1 Usage:

PHP is the general-purpose scripting Language That is especially suited for web
development. PHP generally runs on web server. PHP code in a requested file is executed
by the PHPruntime, usually 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. It is available free of charge, and the PHP group provide
the complete source code for user to build, customize and extend for their own use.

PHP primarily acts as a filter, talking input from a file or stream containing text and/or
PHP instruction and outputs another stream of data; most commonly the output will be
HTML. Since PHP 4, the parser compiles input to produce byte code for processing by
the Zend Engine, giving improved performance over its interpreter predecessor.
Originally designed to create dynamic web pages, PHP now focuses mainly on server -
side scripting, and it is similar to other server-side scripting language that provide
dynamic content from a web server to a client, such as Microsoft’s Active Server pages,
sun Microsystems’ Java server pages. PHP has also attracted the development of many
frameworks that provide building blocks and a design structure to promote Rapid
Application Development (RAD). Some of these include CakePHP, symphony, code
Igniter, and Zend Framework, offering features similar to another web application frame
works.

The LAMP and WAMP architectures have become popular in the web industry as a way
of deploying web applications. PHP is commonly used as the p in this bundle alongside
Linux, Apache and MYSQL, although the p may also refer to Python or Perl.

5.1.2 Security

Hosting PHP application on a server requires a careful and constant attention to deal with
these security risks. There are advanced protection patches such as showing and
Hardening –patch, especially designed for web hosting environments. Installing PHP as a
CGI binary rather than as an Apache module is the preferred method for added security.

5.1.3 Advantages:

PHPis one of the most popular server-side scripting language running today. It is used for
creating dynamic web pages that interact with the user offering customized information.
PHP offers many advantages, it is fast,stable,secure.Ramusleadoff wrote the first
PHP(first called personal home page) scripts as a series of Perl scripts that he used to
track visitors to his webpage and to see who was viewing his resume. He eventually
rewrote PHP as a scripting engine and added support for forms. PHP has been evolving
since 1994 as an open source code. A community of followers and developers formed and
began UsingPHP code is inserted directly into the HTML that makes up a website. When
a visitor comes to the website, the code is executed. Because PHP is a server side
technology, the user does not need any special browser or plug-ins to see the PHP in
action.
MYSQL
MYSQL is a relational database management system (RDBMS) that runs as a server
providing multi-user access to a number of databases. MYSQL is based on SQL
(Structured Query Language). MYSQL is used in a wide range of applications, including
data warehousing, e-commerce, web databases, logging application and distributed
application. In simpler terms MYSQL can be defined as a database system used on the
web-server somewhere to store data or automate procedures. MYSQL holds all of your
tables, PHP acts as your queries and your forms are basically web pages with fields in
them

FEATURES OF MYSQL:

Open Source:
MYSQL is also open source in that it’s free and falls under the GNU (General Public
License).
Performance:
MYSQL performs exceptionally well due to the format of its default table, MYISAM.
MYISAM database leave a small footprints using little disk space, memory and CPU.
While the system runs on the windows platform without flow, it tends to perform better
on Linux and other UNIX-like systems. It is very robust.
Security:
All passwords traffic is encrypted connecting to a server. Certain privileges and password
system makes it very flexible and allows host-based verification. SSH and SSL support
safe and secure connection, powerful data encryption and decryption functions
5.2 PSEUDO CODE

The rules of pseudo code are reasonably straight forward. All statement showing
“dependency” is to be indented. These include while, do, for and if switch. Example
below will illustrate this notation.

Sign up Form (user)

Email field: input type = email

Password field: input type = password

Password confirmation field: input type = password

Signup submit: value: “Sign Up”,

IF email is blank

Error message: “Please enter an email address.”

ELSE IF email field value is not a valid email address

Error message: “This doesn’t look like an email address. Please try again.”

IF email AND password AND password confirmation all contain valid values

Enable Signup Submit


Login (user):

Get the user name typed by the user

Get the password typed by the user

Check both username and password in mysql database

If username and password does not match

Print invalid username and password error message

If empty username and password

Print they can’t be empty

If both match

Start session and redirect to Home Page (User).

Admin Login:

Get the user name typed by the admin

Get the password typed by the admin

Check both username and password in mysql database

If username and password does not match

Print invalid username and password error message

If empty username and password

Print they can’t be empty

If both match

Start session and redirect to Home Page (Admin)


Manage Category:

Admin adds category.

Get the category name.

After adding the categories is added in the mysql database.

Manage Products:

Admin adds new products in the table

Get the product name

Get the product description

Get the quantity

Get the price

Get the image of the product.

The product is then added in the my sql database


CHAPTER 6

SYSTEM TESTING AND VALIDATIONS


TESTING:

Testing is the process of executing a program or system with the intent of finding
errors. Or, it involves any activity aimed at evaluating an attribute or capability of a
program or system and determining that it meets its required results. Software is not
unlike other physical processes where inputs are received, and outputs are produced.
Where software differs is in the way it fails. Most physical systems fail in a fixed (and
reasonably small) set of ways. By contrast, software can fail in many bizarre ways.
Detecting all the different failure modes for software is generally infeasible.
Testing is one of the most important stages in software development which can
prove whether the implementation and the requirements are in fidelity with each other.
Testing can also confirm if the software specifications are complete and consistent. One
of the main goals of testing is to have a minimum number of test cases that will find most
implementation errors. The software/system that is been tested out here is known as
OBSE (Objective Business Specification Environment). This is a process wherein the
queries submitted online are evaluated by a group of experts.

6.1 UNIT TESTNG:


Unit testing is a software development process in which the smallest testable parts
of an application, called units, are individually and independently scrutinized for proper
operation. Unit testing involves only those characteristics that are vital to the
performance of the unit under test. The units in a system are the modules and routines
that are assembled and integrated to perform a specific function. In a large system, many
modules at various levels are needed. Unit testing focuses on the modules, independently
of one another, to locate errors.
Unit testing can be time-consuming and tedious. It demands patience and
thoroughness on the part of the development team. Rigorous documentation must be
maintained. Unit testing must be done with an awareness that it may not be possible to
test a unit for every input scenario that will occur when the program is run in a real -world
environment.

Some of the unit testing that compiles to the OBSE are:


Feeding the system with all combinations of data should test all the calculations. For
valid data, programs should respond in the positive way and for invalid data programs are
to be created such that it catches the errors and shows the user.
The contact no: consists of ten digits including the special characters, so during testing
one should ensure that the programs do not accept anything other than the ten -digit code
for the employee no.

Another e.g. for valid and invalid data check is that, in case ten -digit no is entered during
the entry of transaction, and that number does not exist in the master file, o r if the
number entered is an exit case, then the programs should not allow the entry of such
cases.
Thus, all conditions present in the program should be tested. Before proceeding,
one must make sure that all the programs are working independently.

6.1.1 Implementation of Unit Testing:


The usage of the unit testing could be seen registration form of the project clearly.
The fields are tested in many cases and conditions.
o If the fields are empty, the browser shows an alert message.
o In fields like contact number if text is entered the browser shows an alert
message. And there is also vice done for another field.
TESTING TEST CASES

Id Scenario Test Cases Expected Result Actual Result Pass/


Fail

1 Registration Enter null in It should not do Itwill show message Pass


mandatory fields. the registration that enter the data.
and show error.

Enter incorrect data It should not do It will show message Pass


the registration that enter the correct
and show error. data.

Enter correct data It should let do It will show the Pass


of all required field registration. message of

successfully
registration

2 Login Enter null username Itshouldnot dothe It will show message Pass
or password. login and show that enter username
error. and password.

Enterwrong data of It should not do It will show message Pass


username or the login show that enter correct
password. error. username or
password.

Enter correct data It should let do It will show the Pass


of username or login. message of
password. successfully login.

3 Category Enter null in It will not add It will show message Pass
mandatory fields. category that enter the
category name
& description
Category Enter correct data It should add It thewill show the Pass
of all required field. Category message that
category added

4 Product Enter null in It will not give It will show the Pass
mandatory permission to add messages that enter
fields the product the required details.

Enter correct data It should add It will show the Pass


of all required field. category message that add
category
successfully.

5 Order Enter null in It will not give It will show the Pass
mandatory permission to give messages that enter
fields the order. the required details.

Enter correct data It should give It will show the Pass


of all required field. the order. message that give
order
successfully.

6 Search Enter null in It will not It will show message Pass


Product mandatory fields. search product. that enter product
name.

Enter correct data It should search


It will show the Pass
of all required field. product message that search
product
successfully
6.1.2 INTEGRATION TESTING:
Also known as Integration and Testing (I&T), is a software development
process which program unit are combined and tested as groups in multiple ways. There
are two major ways of carrying out an integration test, called the bottom -up method and
the top-down method.
Bottom-up integration testing begins with unit testing, followed by tests of
progressively higher-level combinations of units called modules or builds.
In top-down integration testing, the highest-level modules are tested first, and
progressively lower-level modules are tested after that. In a comprehensive software
development environment, bottom-up testing is usually done first, followed by top-down
testing.
The process concludes with multiple tests of the complete application, preferably
in scenarios designed to mimic those it will encounter in customers' computers, systems
and networks. At this stage, end users and operators become actively involved in testing.
While testing one should also test to find discrepancies between the system and its
original objective, current specifications and systems documentation.

6.1.3 Implementation of Integration Testing:


Integration testing is applied to this system after attaching all PHP programs to the
appropriate links. This checks the functionality of the system by clicking the links.

6.1.4 ACCEPTANCE TESTING:


System testing must also verify that file sizes are adequate, and their indexes have been
built properly. Sorting and rendering procedures assumed to be present in lower level
modules must be tested at the systems level to see that they in fact exist and achieve the
results modules expect.
6.2 VALIDATIONS

Validation refers to the process of data validation, ensuring that data inserted into an
application satisfies pre-determined formats or complies with stated length and character
requirement and other defined input criteria. It may also ensure that only data that is
either true or real can be entered into a database. There are two types of validation that
can check the authenticity and reliability of the user input.

Client side Validation-Validation will be done in the client machine.


Ex: If the fields are left blank, an error message is displayed

Server side Validation- Validation will be done in the server machine.


Ex: If the desired username exists, the end user is provided with an error message.
Validation:

Login Page (User):

<?php

session_start();

if(isset($_POST['btnsubmit1']))

$Email = addslashes($_REQUEST['txtEmail']);

$password = addslashes($_REQUEST['txtPassword']);

$query = "select * from tbl_register where email_add='$Email' and


password='$password'";

if($c = mysql_query($query))

if(mysql_num_rows($c)>0)

$res = mysql_fetch_array($c);
if($res['email_add']==$Email && $res['password']==$password)

$_SESSION['email_add']=$Email;

$_SESSION['id']=$res['cust_id'];

header("Location:index.php")

else
{

$msg = "Login fail";

echo $msg;

else

$msg = "Login fail";

echo $msg;

else

$msg="Login fail error";

}}

?>

<form action="" method="post" id="login" name="login">

<input type="email" name="txtEmail" placeholder="Email Address" />

<input type="password" name="txtPassword" placeholder="Password" />

<button type="submit" name="btnsubmit1" class="btnbtn-default">Login</button>

</form>
Registration:

<?php

if(isset($_POST['btnSubmit'])

$FName=$_POST['txtFName'];

$LName=$_POST['txtLName'];

$UName=$_POST['txtUName'];

$Email=$_POST['txtEmail'];

$Gender=$_POST['selGender'];

$Country=$_POST['txtCountry'];

$State=$_POST['txtState'];

$City=$_POST['txtCity'];

$ZipCode=$_POST['txtZipCode'];

$Password=$_POST['txtPassword'];

$ConfirmPassword=$_POST['txtConfirmPassword'];

$PhoneNo=$_POST['txtPhoneNo'];

if(empty($FName)||empty($LName)||empty($UName)||empty($Email)||empty($Gender)||e
mpty($Country)||empty($State)||empty($City)||empty($ZipCode)||empty($Passw ord)||emp
ty($ConfirmPassword)||empty($PhoneNo))

echo "Enter the All Fields.";


}

else

mysql_query("insert into tbl_register


(first_name,last_name,user_name,email_add,gender,country,state,city,zip_code,password
,confirm_password,phone_no) values
('$FName','$LName','$UName','$Email','$Gender','$Country','$State','$City','$ZipCode','$
Password','$ConfirmPassword','$PhoneNo')");

echo "Register Successfully";

?>

<form action="" method="post" id="reg" name="reg">

<input type="text" placeholder="First Name" name="txtFName" id="FName"


value="<?php if (isset($FName)) echo $FName; ?>"/>

<input type="text" placeholder="Last Name" name="txtLName" id="LName"


value="<?php if (isset($LName)) echo $LName; ?>"/>

<input type="text" placeholder="User Name" name="txtUName" id="UName"


value="<?php if (isset($UName)) echo $UName; ?>"/>

<input type="email" placeholder="Email Address" name="txtEmail" id="Email"


value="<?php if (isset($Email)) echo $Email; ?>"/>

<select name="selGender" id="Gender" value="<?php if (isset($Gender)) echo $Gender;


?>">

<option value="-1">Gender</option>
<option>Male</option>

<option>Female</option>

</select>

<input type="text" name="txtCountry" placeholder="Country" id="Country"


value="<?php if (isset($Country)) echo $Country; ?>">

<input type="text" name="txtState" id="State" placeholder="State" value="<?php if


(isset($State)) echo $State; ?>">

<input type="text" name="txtCity" id="City" placeholder="City"value="<?php if


(isset($City)) echo $City; ?>">

<input type="text" placeholder="Zip / Postal Code" name="txtZipCode" id="ZipCode"


value="<?php if (isset($ZipCode)) echo $ZipCode; ?>"/>

<input type="password" placeholder="Password" name="txtPassword" id="Password"


value="<?php if (isset($Password)) echo $Password; ?>"/>

<input type="password" placeholder="Confirm Password" name="txtConfirmPassword"


id="ConfirmPassword" value="<?php if (isset($ConfirmPassword)) echo
$ConfirmPassword; ?>"/>

<input type="text" placeholder="PhoneNo" name="txtPhoneNo" id="PhoneNo"


maxlength="10" value="<?php if (isset($PhoneNo)) echo $PhoneNo; ?>"/>

<button type="submit" name="btnSubmit" class="btnbtn


default">Signup</button></td></tr>

</form>
CHAPTER 7

USER MANUAL
Home page:

The page gives viewer an attractive introduction to the showroom website and users need to
enter this page to access everything.
Login page:

Login page consists of two login one for admin and one for user. admin login can view summary
and add or delete product while user login allows purchase of items.
Registration page:

Registration helps or signup page allows registration of new users in order to login and buy items
from website.
Product details:

Only admin can access this product details


Feedback page:

Here we can give our feedback details and product information are provided here.
Purchase page:

Here we can buy the products that means we can purchase the product and information are
provided here.
About page:

About page gives introduction to the company website and all one needs to know about the
website.
CHAPTER 8

SYSTEM IMPLEMENTATION
SYSTEM IMPLEMENTATION

Implementation is the carrying out, execution, or practice of a plan, a method, or any


design for doing something. As such, implementation is the action that must follow any
preliminary thinking for something to happen. In an information tec hnology context,
implementation encompasses all the processes involved in getting new software or
hardware operating properly in its environment, including installation, configuration,
running, testing, and making necessary changes.

 This system is implemented by using PHP and MySQL.


 PHP is a server-side web programming language that is widely used for web
development.
 A implementation techniques involves the following steps:
o Notepad to write the PHP Programs.
o Installation of WAMP server to connect the Backend MySQL.

The Project can be compressed and be saved in WINRAR File and can be used in
other Systems.
WAMP SERVER INSTALLATION
CHAPTER 9

CONCLUSION
CONCLUSION:

In this Online Gifts Shopping project, the user is provided with an e-commerce web site
that online Gifts shopping web page can be used to buy products in online. A good
shopping cart design must be accompanied with user-friendly shopping cart logic. It
should be convenient for the customer to view the contents of their cart and to be able to
remove or add items to their cart. The shopping cart web application described in this
online gifts store project provides a number of features that online shopping system
project report are designed to make the customer more comfortable.

This online Gifts shopping project helps in understanding the creation of an interactive
web page and the technologies used to implement it. The design of the project which
includes Data Model and Process Model illustrates how the database is built with
different tables, how the data is accessed and processed from the tables
CHAPTER 10

FUTURE ENHANCEMENT
FUTURE ENHANCEMENT

The online departmental store web application is developed with many features and yet
few more features could be added in future

 Track the order product.

 Pay using in Credit Card.

 Day by day report generating.

 Profits Maintains.

 Add GST tax for purchase products .


CHAPTER 11

BIBLIOGRAPHY
BIBLIOGRAPHY

Book:

1. Beginning PHP MySQL,

W. Jason Gilmore.

2. Software Engineer 4 th Edition ,

Roger S. Pressman.

3. How to do everything with PHP MySQL,

Vikram Vaswani.

Web Reference:

 http://www.w3schools.com/php/php_intro.asp
 http://www.mysql.com/
 http://dev.mysql.com/doc/
 https://www.w3schools.com/bootstrap/
APPENDIX A – DATA DICTIONARY

Admin:

Customer:

Feedback:

Product:
APPENDIX B – SAMPLE CODING

LOGIN:

<html>

<head>

<title>Login</title>

<meta name="description" content="website description" />

<meta name="keywords" content="website keywords,website keywords"/>

<meta http-equiv="content-type" content="text/html; charset=windows-1252"/>

<link href="style2/katu.css" rel="stylesheet" type="text/css" />

</head>

<body>

<div id="main">

<div id="header">

<div id="logo">

<a id="btnlogin" href="about.php">About us</a>

<div id="logo_text">

<h1>

<a href="index.php">GIFTS SHOPPING<span class="logo_colour"></span></a>

</h1>

<h2><marquee>Welcome to gifts shopping</marquee></h2>

</div>

</div>

<div id="menubar">

<ul id="menu">
<li><a href="index.php">Home</a></li>

<li><a href="ADIDAS.php">ADIDAS</a></li>

<li><a href="NIKE.php">NIKE</a></li>

</ul>

</div>

</div>

<div id="site_content">

<div id="content">

<form name="my form" action="check.php" method="post">

<font face="Times New Roman, Times, serif" size="5" color="blue">

<p></p>

<b>Customer Login page:

<p></p>

Phone number:

<input type="text" name="phone" maxlength="10" />

<p></p>

password:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<input type="password" name="pass" maxlength="10"/>

<p></p>

<p>

<input type="submit" value="Log in" name="submit" class="login" />

<font face="Times New Roman" size="5"><b>OR</font>

<a href="register.php" class="login">Sign up</a></p>

</form>

<hr />
<form name="my form1" action="check2.php" method="post">

<font face="Times New Roman, Times, serif" size="5" color="red">

<p></p>

<b>Admin Login page:

<p></p>

Admin id:

<input type="text" name="id" maxlength="10" />

<p></p>

Password:

<input type="password" name="pass" maxlength="10" />

</font>

<p></p>

<input type="submit" value="Log in" name="submit" class="log" />

</form>

<p>&nbsp;</p>

<p>&nbsp;</p>

</div>

</div>

</div>

</div>

<div id="content_footer"></div>

<div id="footer">Copyright- GIFTS SHOPPING 2018-2019</div>

</body>

</html>
CONNECTION:

<?php

$con=mysql_connect("localhost","root","");

if(!$con)

die("Not Connected" . mysql_error());

$db=mysql_select_db("giftshop",$con);

?>
APPENDIX C – SAMPLE OUTPUT:

You might also like