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.
- 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
Make sure you have the following installed:
- PHP 8.x or higher
- MySQL or MariaDB
- A local server (e.g., XAMPP, Laragon, or WAMP)
- 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


