8000 GitHub - JordyMail/E-shop: this is a simple PHP program of "Online Shop" that my friend and I bulid to complite his coursework.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

this is a simple PHP program of "Online Shop" that my friend and I bulid to complite his coursework.

Notifications You must be signed in to change notification settings

JordyMail/E-shop

 
 

Repository files navigation

E-shop

This is a basic e-commerce website built with PHP and MySQL. The project includes user login functionality, product checkout, and a simple user interface styled with CSS.

Features

  • User login/logout system
  • User profile editing
  • Product checkout functionality
  • Database integration for product and user management
  • Simple and clean UI with basic CSS styling

File Structure

e_shop/
├── checklogin.php # Processes user login
├── checkout.php # Handles the checkout process
├── connectDB.php # Database connection setup
├── edituser.php # User profile editing
├── index.php # Homepage
├── login.php # Login form
├── logout.php # Logs out the user
├── style.css # Website styling
└── image/ # Contains images (e.g., product images, backgrounds)

Requirements

  • PHP 7.x or above
  • MySQL or MariaDB
  • Web server (e.g., Apache)

Setup Instructions

  1. Clone or download the repository.
  2. Place the project folder in your web server's root directory (e.g., htdocs for XAMPP).
  3. Create a MySQL database named bookstore.
  4. Import the database schema and data using a .sql file (not included — create one or use phpMyAdmin to design tables).
  5. Make sure your MySQL server is running on localhost:3306.
  6. Edit connectDB.php if your MySQL username/password or host differs:
    $pdo = new PDO('mysql:host=localhost;port=3306;dbname=bookstore', 'root', '');

Image

About

this is a simple PHP program of "Online Shop" that my friend and I bulid to complite his coursework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 82.3%
  • CSS 17.7%
0