PHP-SBCS

PHP-SBCS / PHP Session Based Cart System (Basit PHP Session Sepet Sistemi)

Bu proje, PHP session kullanarak basit bir alisveris sepeti deneyimi sunar. Egitim ve demo odaklidir; hizli denemeler icin uygundur.

Ozellikler

Gereksinimler

Kurulum

  1. Projeyi klonlayin:
    git clone https://github.com/anbarli/PHP-SBCS.git
    
  2. Proje klasorune girin:
    cd PHP-SBCS
    
  3. Lokal sunucuyu baslatin:
    php -S localhost:8000
    
  4. Tarayicida acin:
    http://localhost:8000
    

Kullanim

Proje Yapisi

/
  index.php           - Uygulama mantigi ve arayuz
  .htaccess           - Temel erisim kurallari
  /orders/            - Siparis dosyalari (yil/ay/gun/orderno.json)
  README.md           - Dokumantasyon
  LICENSE             - Lisans

Guvenlik ve Production Uyarisi

Bu repo egitim/deneme amaclidir. Gercek production kullanim icin tek basina yeterli degildir.

Dikkat edilmesi gereken baslica riskler:

Bilinen notlar (1-2-3):

Production onerisi:

Lisans

MIT License. Detaylar icin LICENSE dosyasina bakin.


PHP-SBCS / PHP Session Based Cart System

This project provides a simple shopping cart flow using PHP sessions. It is designed for learning and demo usage.

Features

Requirements

Installation

  1. Clone the repository:
    git clone https://github.com/anbarli/PHP-SBCS.git
    
  2. Enter the project folder:
    cd PHP-SBCS
    
  3. Start local server:
    php -S localhost:8000
    
  4. Open in browser:
    http://localhost:8000
    

Usage

Project Structure

/
  index.php           - Application logic and UI
  .htaccess           - Basic access rules
  /orders/            - Order files (year/month/day/orderno.json)
  README.md           - Documentation
  LICENSE             - License

Security and Production Warning

This repository is for learning/demo purposes and is not production-ready by itself.

Key risks for production usage:

Known notes (1-2-3):

Production recommendation:

License

MIT License. See LICENSE for details.


Demo: https://www.anbarli.com.tr/PHP-SBCS/