Jump to content

Help required using MySQL and PHP


nib

Recommended Posts

the password hashing (sha1) used by that tutorial (reference to a reply that has since been removed) is NOT recommend to be used for password hashing - 
 

It is not recommended to use this function to secure passwords, due to the fast nature of this hashing algorithm. See here for details.

 

 

the code also has some questionable logic and user message usage that will leave you guessing what is really happening with the validation.

 

and since this isn't a question about code the OP has that he needs help with, moving thread to the misc forum section...

So, now which tutorial should I read, @mac_gyver ?

 

the password hashing used by that tutorial is NOT recommend to be used for password hashing - 
 

 

the code also has some questionable logic and user message usage that will leave you guessing what is really happening with the validation.

 

and since this isn't a question about code the OP has that he needs help with, moving thread to the misc forum section...

the quote in the reply i posted contains a link to the current best method/recommended php based password hashing information.

 

as to tutorials, i/we don't have a list of "here is the best tutorial available to do ________" because there are multiple ways to approach a problem, with different needs/features, and even different ways of integrating the code into the style of coding used to create the web site. tutorials should just be treated as a guide to get you started, i.e. here's how someone at some point in time solved a problem. the problem with a lot of the information posted on the Internet is it was thrown together as an example, rather than being an actual, complete, tested, and working script. the way to get it to the point of having an actual, complete, tested, and working script is is to think about what the code is doing and relate it to what you want your code to do.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.