A simple blogging site with anonymous blog upload & comment features.
Make sure to ⭐ the Repo if you liked it -- It Helps!
This project is a simple blogging site that allows users to upload blogs anonymously and comment on them. It's designed to be a straightforward platform for sharing thoughts and ideas without leaking their identity, though it does feature an admin login system.
- User registration and login functionality.
- Anonymous blog posting.
- Commenting on blogs.
- Admin panel for managing blogs (admin login required).
- Responsive design for a seamless user experience.
The project follows a standard structure for a PHP-based web application. Here's an overview:
index.php
: The homepage of the blog website.register.php
: User registration page.login.php
: User login page.adminpanel.php
: Admin panel for managing blogs.blogs.php
: Page displaying all blogs.comments.php
: Page for viewing and adding comments.includes/
: Directory containing header and footer PHP files.functions/
: Directory with PHP scripts for specific functionalities (e.g., adding blogs, comments, etc.).db/
: Directory containing database configuration and connection files.css/
: Directory with the stylesheet (style.css
).
- Clone the repository to your local machine.
- Import the database schema (
anon_blog.sql
) into your MySQL database. - Configure the database connection in
db/config.php
. - Ensure your server environment meets the requirements (PHP, MySQL).
- Start your local server.
- Access the site through your local server.
- Register or log in to start blogging.
- Explore blogs, add comments, and enjoy the anonymous blogging experience.
Here are key files and their purposes:
index.php
: Homepage.register.php
: User registration page.login.php
: User login page.adminpanel.php
: Admin panel for managing blogs.blogs.php
: Displaying all blogs.comments.php
: Viewing and adding comments.includes/header.php
: HTML header template.includes/footer.php
: HTML footer template.functions/
: Directory with PHP scripts for specific functionalities.db/config.php
: Database configuration.db/database.php
: Database connection script.css/style.css
: Stylesheet.
This project is licensed under the Apache License 2.0
License. See the LICENSE file for details.
Made with ❤ in India