Page 1 of 1

Beginner help

Posted: Mon Jul 07, 2008 7:40 am
by jeffjustice
Hello!
I am new to PhP and I need to make a simple login page. I searched the web for some tutorials and found this one: codervods.com/VideoPage.aspx?ID=915&&category=All
I want to know if there is any way to hide the password for some users who have acces to the database. I admit I haven't searched to much, I must make it fast.

Re: Beginner help

Posted: Mon Jul 07, 2008 12:28 pm
by Apollo
You should never store passwords in a database. Only hashes, preferably mixed up with some noise.

For example: instead of storing $password, rather store sha1($password."12345YourMommasMaidenName").