Code Monkey home page Code Monkey logo

anonymous-blog's Introduction

Anonymous Blog

License Contributions welcome PHP MySQL

A simple blogging site with anonymous blog upload & comment features.

Make sure to โญ the Repo if you liked it -- It Helps!

Introduction

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.

Screenshot

Blogs Page Admin Panel

Features

  • 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.

Project Structure

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).

Installation

  1. Clone the repository to your local machine.
  2. Import the database schema (anon_blog.sql) into your MySQL database.
  3. Configure the database connection in db/config.php.
  4. Ensure your server environment meets the requirements (PHP, MySQL).
  5. Start your local server.

Usage

  1. Access the site through your local server.
  2. Register or log in to start blogging.
  3. Explore blogs, add comments, and enjoy the anonymous blogging experience.

Files and Descriptions

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.

๐Ÿ“ License

This project is licensed under the Apache License 2.0 License. See the LICENSE file for details.


Made with โค in India

anonymous-blog's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.