php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "password error"

In the case of a forgotten password, how can a new password be generated and sent to the user in PHP?

When a user forgets their password, a new password can be generated and sent to them by generating a random string, updating the user's password in th...

How can a PHP User class securely handle password verification and updates without exposing the password?

When handling password verification and updates in a PHP User class, it is important to securely hash passwords using a strong hashing algorithm like...

How can one ensure that password verification functions correctly in PHP?

To ensure that password verification functions correctly in PHP, you should use the password_verify() function to compare the input password with the...

Why is it recommended to use MD5() or SHA2() instead of the PASSWORD() function in MySQL for password encryption in applications?

The PASSWORD() function in MySQL is not considered secure for password encryption as it uses a weak hashing algorithm. It is recommended to use MD5()...

In PHP, what are the recommended methods for comparing a user-entered password with the hashed password stored in the database using password_verify()?

When comparing a user-entered password with the hashed password stored in the database, it is recommended to use the password_verify() function in PHP...

Showing 41 to 45 of 10000 results

‹ 1 2 ... 6 7 8 9 10 11 12 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.