GithubHelp home page GithubHelp logo

ashraf-kabir / personal-blog Goto Github PK

View Code? Open in Web Editor NEW
57.0 5.0 19.0 9.59 MB

Dynamic blogsite using PHP, JS & mysql where user can register, log in, post blog with images, comment, edit profile, change password, etc. There is a separate admin panel also where admin can approve user & theirs posts & comments and manipulate the whole site.

Home Page: https://personalblog.ashrafkabir.com/

License: MIT License

JavaScript 2.31% Hack 2.27% PHP 59.88% CSS 32.07% SCSS 3.46%
php pdo mysql blog personal-blog

personal-blog's Introduction

personal-blog

PHP PDO

design framework: bootstrap v4

Database: MySql

(PDO style followed which is secured than mysqli commands)

User Panel:

  1. Register
  2. Log in
  3. Post on blog with image
  4. Add comments on posts

Admin Panel:

  1. admin log in
  2. approve or decline users
  3. approve or decline posts
  4. approve or decline comments
  5. passwords are md5 encrypted, so change at sql to login as admin

sql file is attached inside the sql directory.

n.b.: admin panel is at project-folder/admin admin login email: [email protected] password: 12345678

Preview: Home Page

Homepage preview

Raise a star to support me

personal-blog's People

Contributors

ashraf-kabir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

personal-blog's Issues

Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens

Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\xampp\htdocs\personalblog\admin\manage-posts.php:124 Stack trace: #0 C:\xampp\htdocs\personalblog\admin\manage-posts.php(124): PDOStatement->execute() #1 {main} thrown in C:\xampp\htdocs\personalblog\admin\manage-posts.php on line 124

error in manage post

Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\xampp\htdocs\KomtisWeb\admin\manage-posts.php:122 Stack trace: #0 C:\xampp\htdocs\KomtisWeb\admin\manage-posts.php(122): PDOStatement->execute() #1 {main} thrown in C:\xampp\htdocs\KomtisWeb\admin\manage-posts.php on line 122

I can't see sql file and too much files

Please add database sql file and please remove unwanted files. I see that your script have lots of files and your file size is: 38mb after extract.
Your code running/outputting so faster, so i want to use your codes. Please add sql file and improve your code and make more very faster loading. Sorry for not good english. thanks

Admin Login Problem

I have tried several times to login admin panel, every time its showing a error message of wrong password or username.

error on registering

the blog is not allowing me to register a new user, i looked at the inspect code and they seems to be an error -Uncaught ReferenceError: $ is not defined at register.php:69.......any idea how i can solve this

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.