Giter Site home page Giter Site logo

Comments (5)

prasanthmj avatar prasanthmj commented on August 16, 2024

now my website is broken
What is the error that you are getting?

from registrationform.

39edivad avatar 39edivad commented on August 16, 2024

First of all, T HA N K Y O U for getting back to me!!!!!!!!!!!!!!!!
I'm not having an error but it seems it can find a match in the database.
I had the old version installed, the one I downloaded years ago from the website HTML.form.guide
I think the problem is the password check. The old version used md5 hash function. To be sure I've tried to create a new user but even accessing the new user it doesn't work. I would really like to fix it as soon as possible to pass to php 7.3. Do you have any hint?

from registrationform.

39edivad avatar 39edivad commented on August 16, 2024

Ok I think I have an hint.
It fails to the password verification at the following line into CheckLoginInDB($username,$password) function:
if(!password_verify($password , $row['password'] ))
{
it arrives here everytime. So how can I be sureI'm comparing the password with the hashed password?
}

I look forward to hearing from you.
THANKS IN ADVANCE!!!!!!!!!!

Davide

from registrationform.

39edivad avatar 39edivad commented on August 16, 2024

I've seen other peopla are having with their php code issues using password_verify that seems it's not hashing the user password before to compare it with the hashed version in the database. Please let me know what I'm doing wrong with your code.

from registrationform.

39edivad avatar 39edivad commented on August 16, 2024

I've just got what the problem was!!! It's not your code but the fact that my database was created with the old php code so the password were 32 char long.
I've now updated to 255 char so now they match correctly. ANYWAY I want to thank you so much for your wonderful work and for your generosity to give it for free!!! I'm just a video artist and it would have been impossible for me to pay someone to code the restricted area of my website! Please keep this code always updated!!!!!!!!!!!! ;) I wish you a wonderful week end and stay safe!!!

from registrationform.

Related Issues (20)

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.