0% found this document useful (0 votes)
11 views37 pages

Dbms Final Report

The document outlines a project for an e-commerce website developed as part of a Database Management Systems course. It aims to provide an online shopping platform for a physical store, allowing customers to shop conveniently from anywhere and ensuring that local shops remain competitive against larger online retailers. The project includes various components such as an abstract, introduction, problem definition, ER diagrams, PHP code for functionality, and results/conclusions.

Uploaded by

varun goel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views37 pages

Dbms Final Report

The document outlines a project for an e-commerce website developed as part of a Database Management Systems course. It aims to provide an online shopping platform for a physical store, allowing customers to shop conveniently from anywhere and ensuring that local shops remain competitive against larger online retailers. The project includes various components such as an abstract, introduction, problem definition, ER diagrams, PHP code for functionality, and results/conclusions.

Uploaded by

varun goel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 37

ECOMMERCE WEBSITE

Project
for
CSE 2004
Database Management Systems

Submitted by:-
YASH AGARWAL-19BEC0599
VARUN GOEL-19BCE2296
AARYASH KANSAL-19BCE0339
To
Prof. Mohan Kumar P
In D2 SLOT

School of Computer Science and Engineering VIT


University, Vellore Tamil Nadu - 632 014
SCHOOL OF COMPUTER SCIENCE AND
ENGINEERING

Project ​Sensors and Instrumentation (ECE 1005)


YASH AGARWAL-19BEC0599
VARUN GOEL-19BCE2296
AARYASH KANSAL-19BCE0339
CONTENT:

1.Abstract

2.Introduction

3.Problem Definition

4.ER Diagram and Relational Tables

5.PHP Code

6.Result

7.Conclusion
1) ​Abstract:

This project is a web based shopping system for an


existing shop. The project objective is to deliver the
online shopping application into the Web platform.
This project is an attempt to provide the
advantages of online shopping to customers of a
real shop. It helps buying the products in the shop
anywhere through the internet by using a mobile
device. Thus the customer will get the service of
online shopping and home delivery from his
favorite shop. This system can be implemented to
any shop in the locality or to multinational
branded shops having retail outlet chains.
If shops are providing an online portal where their
customers can enjoy easy shopping from
anywhere, the shops won’t be losing any more
customers to the trending online shops. Since the
Web application is available in the Smartphone it is
easily accessible and always available.
Keywords:
HTML
HTML Tags
HTML Web Pages
Headings
Paragraphs
Links
Images
Elements
CSS
Xampp
LocalHost
Triggers
Queries
phpmyadmin
127.0.0.1
2) ​Introduction:

e-Commerce, also known as e-Business, or electronic


business, is simply the sale and purchase of services and
goods over an electronic medium, like the Internet. It
also involves electronically transferring data and funds
between two or more parties. Simply put, it is online
shopping as we commonly know it.
ecommerce websites are online portals that facilitate
online transactions of goods and services through means
of the transfer of information and funds over the
Internet. In the early days, e-Commerce was done
partially through emails and phone calls. Now, with a
single website, anything and everything that a
transaction needs, can be executed online.
There are different e-Commerce websites for every field.
The most common type is retail selling, but there are
many others too, like auction websites, business-to
business services, music portals, consultancy websites,
finance management websites, and the like​.​The project
aims were to reduce overcrowding in the certain places
like theatres, large gatherings in order to maintain law
and order.
3) ​Problem Definition:

From startups to small businesses right through to


huge brands, there are a huge number of
companies that can benefit from their own
ecommerce website, where they can sell their own
products or services. In today's competitive and
convenience focused society, no longer do
consumers want to venture to the high street in
order to buy items, instead consumers want to
shop from their own homes, making ecommerce a
flexible solution for both businesses and buyers. If
you have a physical store, you are limited by the
geographical area that you can service. With an
e-commerce website, the whole world is your
playground.
4) ​ER Diagram:
Relationship Table:
5) PHP CODE:

<?php session_start();
if ($_SERVER["REQUEST_METHOD"] == "POST")
{if
(empty($_POST['username'])||empty($_POST['password'])||empty($_POST['ma
il_id']))
{
header("Location:oops_log_in_1.html");
exit;
}

else {

$servername = "localhost";
$username = "root";
$password = "";

try
{
$name= test_input($_POST['username']);
if(preg_match("/^[a-zA-Z ]*$/",$name))
{$_SESSION['name']=$name; }
else {
header("Location:oops_
log_in_1.html");
exit;
}

$mail_id= test_input($_POST['mail_id']);

if(!filter_var($mail_id, FILTER_VALIDATE_EMAIL))
{
header("Location:oops_log_in_1.html");
exit;
}

else {
$_SESSION['mail_id']=$mail_id;
}

$conn = new PDO("mysql:host=$servername;dbname =


dba",$username,$password);
$conn->setAttribute(PDO::ATTR_ERRMODE,
PDO::ERRMODE_EXCEPTION);

if ($_SERVER["REQUEST_METHOD"] == "POST") {
$stmt = $conn->prepare("INSERT INTO dba.customer
(username,mail_id,password) VALUES (:username,:mail_id,:password)");
$stmt->bindParam(':username',$username);
$stmt->bindParam(':mail_id',$mail_id);
$stmt->bindParam(':password',$password);
$username = $_SESSION['name'];
$password = test_input($_POST['password'])
$_SESSION['cust_id']=$mail_id
=$_SESSION['mail_id'];
if(isset($_POST['mail_id']))
{$mail_id = $_POST['mail_id']; }
$stmt->execute();

$stmt=$conn->prepare("SELECT num FROM dba.customer WHERE


mail_id='$mail_id' ");
$stmt->execute();
$data=$stmt->fetch();
$_SESSION['num']=$data['num'];
header("Location:ralph_lauren_1.html");
exit;}

catch(PDOException $e)
{ header("Location:oops_log_in_1.html");
exit;

$conn = null;

}
}

function test_input($data){

echo "hello";
$data=trim($data);
$data=stripslashes($data);
$data=htmlspecialchars($data);
return $data;
}

?>

LOGIN:
<?php session_start();
if ($_SERVER["REQUEST_METHOD"] == "POST"){

if(empty($_POST['mail_id']) || empty($_POST['password']))
{
header("Location: oops_log_in_1.html" );
}

else
{ $mail_id=$_POST['mail_id'];
$pass=$_POST['password'];

$servername='localhost';
$username='root';
$password='';

try{
$conn = new
PDO("mysql:host=$servername;dbname=dba", $username, $password);
$conn-
>setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);
$stmt=$conn->prepare("SELECT
username,mail_id,password,num FROM dba.customer WHERE
mail_id='$mail_id' and password='$pass' ");
$stmt->setFetchMode(PDO::FETCH_ASSOC);
$stmt->execute();
$data=$stmt->fetch();

if(($data['mail_id']==$mail_id) &&
($data['password']==$pass)){

$_SESSION['cust_id']=$_SESSION['mail_id']=$mail_id;
$_SESSION['username']=$data['username'];

$num=$data['num'];

$num++;

$_SESSION['num']=$num;

$stmt=$conn->prepare("update dba.customer set num ='$num' where


mail_id='$mail_id' ");
$stmt->execute();

header("Location: ralph_lauren_1.html" );exit();

}
else{ header("Location:
oops_log_in_1.html"
);exit();
}
}
catch(PDOException $e)
{
echo $e->getMessage();
$conn=null;
}
}
?>
CART:

<?php session_start();
include "cart.html";

$servername = "localhost";
$username = "root";
$password = "";
$dbname = "dba";

try {
$conn = new PDO("mysql:host=$servername;dbname=$dbname", $username,
$password);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

$cust_id= $_SESSION['cust_id'];
$num=$_SESSION['num'];

$stmt = $conn->prepare("SELECT invoice_id,cust_id,num FROM dba.invoice


where cust_id='$cust_id' and num='$num'");
$stmt->execute();

$row = $stmt->fetch();
$invoice_id=$row['invoice_id'];
echo "<h1 style='text-align:center;margin-top:50px;font-
size:50px;'>CART</h1>";

$stmt = $conn->prepare("SELECT Distinct * FROM


dba.final_invoice_prod,product where invoice_id='$invoice_id' AND
product.pro_id=final_invoice_prod.pro_id");
$stmt->execute();
while( $row = $stmt->fetch()){
$_SESSION['pro_id']= $row['pro_id'];
echo "<div style='margin-left:170px;margin-top:100px;' ><a href='#'><img
src='".$row['image_name']."'width='300px' height='400px'
style='margin-top:'160px;'></a></div><br/>";
echo "<br/><div style='text-align:center;'><p style='margin-top:-
390px;margin-
left:450px;'>".$row['pro_name']."<br/><br/>".$row['pro_desc']."<br/><br
/>".$row['pro_price']."<br/><br/>".$row['stock']."<br/><br/>".$row['qua
ntity'];
echo "</p><form action='delete_cart.php' method='post'><input
type='hidden' name='pro_id' value='".$row['pro_id']."'><input
type='submit' name='delete' value='Delete' style='margin-
left:900px;padding: 10px 32px;margin-top:100px'></form><div
style='margin-top:-40px;'>";
echo "<form method='post' action='wishlist_1.php'><input type='submit'
name='wishlist' value='Wishlist' style='margin-left:30px;padding: 10px
32px;'></form></div><div style='overflow:auto;margin-
top:100px'></div></div>";
}
}
catch(PDOException $e) {
//header("Location:cart.php");exit();
}
$conn = null;

include "continue.php";
include "footer.html";
?>

WISHLIST:
<?php session_start();
include "cart.html";

$servername = "localhost";
$username = "root";
$password = "";
$dbname = "dba";

try {
$conn = new PDO("mysql:host=$servername;dbname=$dbname", $username,
$password);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

$cust_id= $_SESSION['cust_id'];

echo "<h1 style='text-align:center;margin-top:50px;font-


size:50px;'>WISHLIST</h1>";

$stmt = $conn->prepare("SELECT * FROM dba.wishlist,dba.product where


product.pro_id=wishlist.pro_id and cust_id='$cust_id'");
$stmt->execute();
while( $row = $stmt->fetch()){
$_SESSION['pro_id']= $row['pro_id'];
echo "<div style='margin-left:170px;margin-top:100px;' ><a href='#'><img
src='".$row['image_name']."'width='300px' height='400px'
style='margin-top:'160px;'></a></div><br/>";
echo "<br/><div style='text-align:center;'><p style='margin-top:-
390px;margin-
left:450px;'>".$row['pro_name']."<br/><br/>".$row['pro_desc']."<br/><br
/>".$row['pro_price']."<br/><br/>".$row['stock'];
echo "</p><form method='post' action='delete_wishlist.php'><input
type='hidden' name='pro_id' value='".$row['pro_id']."'><input
type='submit' name='delete' value='Delete' style='margin-
left:900px;padding: 10px 32px;margin-top:100px'></form><div
style='margin-top:-40px;'>";
echo "<form method='post' action='cart_1.php'><input type='hidden'
name='pro_id' value='".$row['pro_id']."'><input type='submit'
name='AddtoCart' value='AddtoCart' style='margin-left:30px;padding:
10px 32px;'></form></div><div style='overflow:auto;margin-
top:100px'></div></div>"}

}
catch(PDOException $e) {
echo "Error: " . $e->getMessage();
header("Location:cart.php");exit();
}
$conn = null;

include "footer.html";
?>

DELETE CART:
<?php session_start();
if(isset($_POST['delete'])){
$servername = "localhost";
$username = "root";
$password = "";
try
{$pro_id= $_SESSION['pro_id']=$_POST['pro_id'];

$cust_id=$_SESSION['mail_id'];
$num=$_SESSION['num'];

$conn = new PDO("mysql:host=$servername;dbname =


dba",$username,$password);
$conn->setAttribute(PDO::ATTR_ERRMODE,
PDO::ERRMODE_EXCEPTION);

$stmt = $conn->prepare("select invoice_id from


dba.invoice where cust_id='$cust_id' AND num='$num'");
$stmt->execute();
$row = $stmt->fetch();

$invoice_id = $row['invoice_id'];

$stmt = $conn->prepare("select count(count) from dba.invoice_product


where invoice_id='$invoice_id' AND pro_id='$pro_id'");
$stmt->execute();
$row = $stmt->fetch();
$quan=$row['count(count)'];

echo $quan;
$stmt = $conn->prepare("DELETE FROM dba.invoice_product WHERE
invoice_id='$invoice_id' AND pro_id='$pro_id' and count='$quan'");
$stmt->execute();
$quan--;$stmt = $conn->prepare("update dba.final_invoice_prod set
quantity='$quan' where invoice_id='$invoice_id' AND pro_id='$pro_id' ");
$stmt->execute();

if ($quan==0){

$stmt = $conn->prepare("DELETE FROM dba.final_invoice_prod WHERE


invoice_id='$invoice_id' AND pro_id='$pro_id'");
$stmt->execute();

}
header("Location:cart.php");
exit();

}
catch(PDOException $e)
{
echo $e->getMessage();
//header("Location:cart.php");
//exit();
}

$conn = null;
}

DELETE WISHLIST:
<?php session_start();
if(isset($_POST['delete'])){

$servername = "localhost";
$username = "root";
$password = "";
try
{ $pro_id=$_SESSION['pro_id']=$_POST['pro_id'];

$conn = new PDO("mysql:host=$servername;dbname =


dba",$username,$password);
$conn->setAttribute(PDO::ATTR_ERRMODE,
PDO::ERRMODE_EXCEPTION);

$cust_id=$_SESSION['mail_id'];
//$cust_id=$_SESSION['mail_id'];
//$num=$_SESSION['num'];//$stmt =
$conn->prepare("select invoice_id from dba.invoice
where cust_id='$cust_id' AND num='$num'");
//$stmt->execute();
//$row = $stmt->fetch();

//$_SESSION['invoice_id']=$row['invoice_id'];

$stmt = $conn->prepare("DELETE FROM dba.wishlist


WHERE pro_id='$pro_id' AND cust_id='$cust_id'");
$stmt->execute();

header("Location:wishlist.php");exit();
}

catch(PDOException $e)
{
// echo $e->getMessage();

header("Location:wishlist.php");exit();

$conn = null;

?>

WISHLIST TO CART vis a vis


<?php session_start();
if(isset($_POST['wishlist'])){

$servername = "localhost";
$username = "root";
$password = "";
try
{ $pro_id=$_SESSION['pro_id'];

$conn = new PDO("mysql:host=$servername;dbname =


dba",$username,$password);
$conn->setAttribute(PDO::ATTR_ERRMODE,
PDO::ERRMODE_EXCEPTION);
$stmt = $conn->prepare("INSERT INTO
dba.wishlist(pro_id,cust_id) VALUES (:pro_id,:cust_id)");

$stmt->bindParam(':pro_id',$pro_id);
$stmt->bindParam(':cust_id',$cust_id);
$pro_id=$_SESSION['pro_id'];
$cust_id=$_SESSION['mail_id'];
$stmt->execute();
header("Location:final_order.php");exit();
}

catch(PDOException $e)
{
echo $e->getMessage();

header("Location:final_order.php");exit();

$conn = null;

?>

COURIER:

If address already exists


<?php session_start();
if ($_SERVER["REQUEST_METHOD"] == "POST")
{if
(empty($_POST['recipient_name'])||empty($_POST['phone_no'])||empty($_PO
ST['house_no'])||empty($_POST['area'])||empty($_POST['landmark'])||empt
y($_POST['city'])||empty($_POST['state'])||empty($_POST['pincode']))
{
header("Location:oops_log_in_1.html");
exit;
}

else {

$servername = "localhost";
$username = "root";
$password = "";try
{

$name=
test_input($_POST['recipient_name']);
if(preg_match("/^[a-zA-Z
]*$/",$name))

{$_SESSION['recipient_name']=$name; }
else
{
header("Location:oops_log_in_1.html"); exit;
}

$namea=
test_input($_POST['house
_no']);
]*$/",$namea)) if(preg_match("/^[a-zA-Z
0-9_.-

{$_SESSION['house_no'
]=$namea; }
exit; else
{
header("Location:oops_log_i
n_1.html");

$nameb= test_input($_POST['area']);
if(preg_match("/^[a-zA-Z ]*$/",$nameb))
{$_SESSION['area']=$nameb; }
else {
header("Location:oops
_log_in_1.html");
exit;
}

$namec= test_input($_POST['landmark']);
if(preg_match("/^[a-zA-Z ]*$/",$namec))
{$_SESSION['landmark']=$namec; }
else {
header("Location:oo
ps_log_in_1.html");
exit;
}

$named= test_input($_POST['city']);
if(preg_match("/^[a-zA-Z ]*$/",$named))
{$_SESSION['city']=$named; }
else
{
header("Location:oops
exit; _log_in_1.html");

$namee= test_input($_POST['state']);
if(preg_match("/^[a-zA-Z ]*$/",$namee))
{$_SESSION['state']=$namee; }
else {
header("Location:oops_
log_in_1.html");
exit;
}

$namef= test_input($_POST['phone_no']);
if(preg_match("/[7-9]{1}[0-9]{9}/",$namef))
{$_SESSION['phone_no']=$namef; }
else {
header("Location:oo
ps_log_in_1.html");
exit;
}

$namef= test_input($_POST['pincode']);
if(preg_match("/[0-9]{6}$/",$namef))
{$_SESSION['pincode']=$namef; }
else {
header("Location:oo
ps_log_in_1.html");
exit;
}

$conn = new PDO("mysql:host=$servername;dbname =


db",$username,$password);
$conn->setAttribute(PDO::ATTR_ERRMODE,
PDO::ERRMODE_EXCEPTION);

if ($_SERVER["REQUEST_METHOD"] == "POST") {

$stmt = $conn->prepare("INSERT INTO


dba.courier(recipient_name,phone_no,house_no,area,landmark,city,state,p
incode,mail_id) VALUES
(:recipient_name,:phone_no,:house_no,:area,:landmark,:city,:state,:pinc
ode,:mail_id)");
$stmt-
>bindParam(':recipient_name',$recipient_name);$stmt->bindParam(':phone_no',
$phone_no);
$stmt->bindParam(':house_no',$house_no);

$stmt->bindParam(':area',$area);
$stmt->bindParam(':landmark',$landmark);
$stmt->bindParam(':city',$city);

$stmt->bindParam(':state',$state);
$stmt->bindParam(':pincode',$pincode);
$stmt->bindParam(':mail_id',$mail_id);

$recipient_name = $_SESSION['recipient_name'];
$phone_no = $_SESSION['phone_no'];
$house_no = $_SESSION['house_no'];
$area = $_SESSION['area'];

$landmark = $_SESSION['landmark'];
$city = $_SESSION['city'];
$state = $_SESSION['state'];
$pincode = $_SESSION['pincode'];
$mail_id=$_SESSION['mail_id'];
$stmt->execute();
header("Location:final_order.php"); exit;
}

catch(PDOException $e)
{ echo "<h1 style='font-size:45px;text-
align:center;margin-top:300px;'>This Address Already Exists</h1>";
exit;

$conn = null;

}
}
function test_input($data){

$data=trim($data);
$data=stripslashes($data);
$data=htmlspecialchars($data);
return $data;
}

?>

If new address:
<?php session_start();$mail_id=$_SESSION['mail_id'];

$servername = "localhost";
$username = "root";
$password = "";

try
{
$conn = new
PDO("mysql:host=$servername;dbname = db",$username,$password);
$conn->setAttribute(PDO::ATTR_ERRMODE,
PDO::ERRMODE_EXCEPTION);
if ($_SERVER["REQUEST_METHOD"] == "POST")

$mail_id=$_SESSION['mail_id'];
$stmt = $conn->prepare("SELECT
recipient_name,phone_no,house_no,area,landmark,city,state,pincode from
dba.courier where mail_id='$mail_id'");
$stmt->execute();

$row = $stmt->fetch();

echo "<p style='font-size:20px;'>Delivery Address


<br/>".$row['recipient_name']."<br/>".$row['house_no'].",
".$row['area'].", ".$row['landmark'].", ".$row['city'].",
".$row['state'].", ".$row['pincode']."</p><br/><br/><br/>";

$_SESSION['recipient_name']=$row['recipient_name'];$_SESSION['house_no'
]=$row['house_no'];$_SESSION['area']=$row['area'];$_SESSION['landmark']
=$row['landmark'];$_SESSION['city']=$row['city'];$_SESSION['state']=$ro
w['state'];$_SESSION['pincode']=$row['pincode'];}

header("Location:final_order.php"); exit;
}

catch(PDOException $e)
{ echo
$e->getMessage();

//header("Location:o
exit; ops_log_in_1.html");

$conn = null;
FINAL CART:<?php session_start(); include "cart.html";

$servername = "localhost";
$username = "root";
$password = "";
$dbname = "dba";

try {
$conn = new PDO("mysql:host=$servername;dbname=$dbname", $username,
$password);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

$cust_id= $_SESSION['cust_id'];
$num=$_SESSION['num'];

$stmt = $conn->prepare("SELECT invoice_id,cust_id,num FROM dba.invoice


where cust_id='$cust_id' and num='$num'");
$stmt->execute();

$row = $stmt->fetch();
$invoice_id=$row['invoice_id'];
echo "<h1 style='text-align:center;margin-top:50px;font-
size:50px;'>ORDER</h1><h3 style='text-align:center;margin-
top:50px;font-size:30px;'>PAYMENT CASH ON DELIVERY</h3>";

echo "<br/><h1 style='font-size:30px;text-align:center'> Delivery


Address<br/><br/>".$_SESSION['recipient_name']."<br/>".$_SESSION['house
_no'].", ".$_SESSION['area'].", ".$_SESSION['landmark'].",
".$_SESSION['city'].", ".$_SESSION['state'].",
".$_SESSION['pincode'].".</h1><br/><br/><br/>";

$stmt = $conn->prepare("SELECT Distinct * FROM


dba.final_invoice_prod,product where invoice_id='$invoice_id' AND
product.pro_id=final_invoice_prod.pro_id");
$stmt->execute();
while( $row = $stmt->fetch()){
$_SESSION['pro_id']= $row['pro_id'];
echo "<div style='margin-left:170px;margin-top:100px;' ><a href='#'><img
src='".$row['image_name']."'width='300px' height='400px'
style='margin-top:'160px;'></a></div><br/>";
echo "<br/><div style='text-align:center;'><p style='margin-top:-
390px;margin-
left:450px;'>".$row['pro_name']."<br/><br/>".$row['pro_desc']."<br/><br
/>".$row['pro_price']."<br/><br/>".$row['stock']."<br/><br/>".$row['qua
ntity'];
echo "</p><form action='delete_final_order.php' method='post'><input
type='hidden' name='pro_id' value='".$row['pro_id']."'><input
type='submit' name='delete' value='Delete' style='margin-
left:900px;padding: 10px 32px;margin-top:100px'></form><div
style='margin-top:-40px;'>";
echo "<form method='post' action='wishlist_final_order.php'><input
type='submit' name='wishlist' value='Wishlist' style='margin-
left:30px;padding: 10px 32px;'></form></div><div
style='overflow:auto;margin-top:100px'></div></div>";
}echo "<a href='#' > <form action='thankyou.php' method='post'><input
type='submit' name='order' value='ORDER' style='padding: 10px
35px;margin-left:600px;font-size:25px;margin-top:50px;'></form></a><div
style='margin-top:130px;'></div>";
}
catch(PDOException $e) {
//header("Location:final_order.php");exit();
}
$conn = null;

include "footer.html";
?>

RESULT:
​ When we open the page:
Log in/ singup​:

To view items:
Cart:

Invoice Product​:
COURIER:
Final Order
Thank You
Conclusion
Ecommerce Has Made The World A Much Smaller Place,
Thanks To The Internet. It Is Convenient, Fast, And Easy. The
Number Of People Turning To E-shopping Is Only Going To
Rise As Time Goes By. So Make Your Business Go Online.
The Whole World Is Going Online So It Was The Right Step
Taken When We Brought The Shopping World Online. Now
The Person Doesn't Have To Walk Around In The Market
Under Sun And Check For Availability Of A Product. Now
Anyone Can Sit In Their Home And Order Their Goods With
Maximum Comfort.
However, This Project Requires:
• A web browser
• Python
• XAAMP
Strengths of e-Commerce Website:
• Faster buying/selling procedure, as well as easy to find
products.
• Buying/selling 24/7.
• More reach to customers, there are no theoretical geographic
limitations.
• Low operational costs and better quality of services.
• No need for physical company set-ups.
• Easy to start and manage a business.
• Customers can easily select products from different
providers without moving around physically.
Shortcoming of e- Commerce Website:
● Any one, good or bad, can easily start a business. And
there are many bad sites which eat up customers’
money.
● There is no guarantee of product quality.
● Mechanical failures can cause unpredictable
effects on the total processes.
● As there is minimum chance of direct customer to
company interactions, customer loyalty is always on a
check.
● There are many hackers who look for opportunities, and
thus an ecommerce site, service, payment gateways, all
are always prone to attack.
Database Screenshots:
References:
1. www.hotscripts.com/category/php/
2. www.apache.org/
3. www.mysql.com/click.php?e=35050
4. www.w3schools.com
5. in.php.net
6. en.wikipedia.org/wiki/PHP

You might also like