PHP-based Blogging Platform Web Application built with PHP and MySQL. The system allows users to create accounts, authenticate, manage their profiles, and post blog content. Admin have additional control over user management. Key features include account activation, password recovery, and a user-friendly post management system.
- User Authentication: Secure login and registration with password hashing.
- Account Activation: Email-based account verification.
- Password Recovery: Reset forgotten passwords via email.
- User Management: Admin can manage user accounts; users can manage their own profiles.
- Blog Post Management: Create, edit, and delete blog posts.
- Categories: Organize posts with categories.
- Search: Search posts by keywords and categories.
- Pagination: Navigate through posts.
- User Roles: Different roles with specific permissions.
- PHP (for backend development)
- MySQL (for database management)
- HTML/CSS (for frontend design)
- JavaScript (for client-side interactions)
- Bootstrap 5 (for CSS framework)
-
Clone the repository:
git clone https://github.com/krisnaajiep/php-blog-system.git
-
Navigate to the project directory:
cd php-blog-system
-
Move the project files to the XAMPP
htdocs
directory (usually located inC:\xampp\htdocs
on Windows or/Applications/XAMPP/htdocs
on macOS):mv php-blog-system /path-to-xampp/htdocs/
-
Create new database
mysql -u root -p -e "CREATE DATABASE simple_project_blog_system;"
-
Import
simple_project_blog_system.sql
filemysql -u root -p simple_project_blog_system < config/simple_project_blog_system.sql
-
Configure the database, base url, and base directory settings in
config/config.php
. -
Start XAMPP Control Panel and launch the Apache and MySQL services.
-
Access the application at
http://localhost/php-blog-system
(adjust the URL if your project is in a subfolder withinhtdocs
).