Skip to content

Latest commit

Β 

History

History
48 lines (33 loc) Β· 1.09 KB

File metadata and controls

48 lines (33 loc) Β· 1.09 KB

πŸ“ My Blog Project

A simple PHP-based blogging system where users can register, log in, create, edit, and delete posts.
Each user can view their own posts or explore all posts created by others.


🌟 Features

  • User authentication (register, login, logout)
  • Create, edit, and delete your own posts
  • View your posts or browse all posts
  • Clean, minimal file-based structure β€” no heavy framework
  • Simple and responsive design

πŸ“Έ Screenshots

🏠 Home Page

Home Page

✍️ Create Post

Create Post

πŸ“° View Post

View Post


βš™οΈ Installation & Setup

1️⃣ Requirements

Make sure you have the following installed:

  • PHP 8.x or higher
  • MySQL or MariaDB
  • A local server (e.g., XAMPP, Laragon, or WAMP)

2️⃣ Setup Steps

  1. Clone or download this repository:
    git clone https://github.com/<your-username>/my-blog.git
    cd my-blog
    Then execute the sql script in the sql server.
    Also configure the database details in the lib/common.php file