If you were to look at tutorials or/and scripts then I suggest improving them after.
Just by Googling, I found some tutorials with serious issues. Mainly being the fact that they are hashing using md5 and that alone. Special mention goes to Tutorialzine for their 2009 tutorial.
There is way...