- Mar 15, 2003
- 2,109
- 48
- 91
So I'm finally learning PHP, and I'm already running into problems.
Step 7 (part 2) of this tutorial makes no sense to me. It basically says nothing about salting/hashes or password files. As such, it's assuming a lot of prior knowledge,. Also, it possibly has errors in the provided code, according to the user comments at the bottom of the page.
Can someone who knows PHP take a quick look at it and tell me if the provided script/code is at least flawless? I want to narrow down my problem solving efforts.
So far, all I get my script doing is echoing the following: Your password was incorrect.
The format of my password text file (which I created manually) is:
usernameassword
I have also tried other combinations with no luck.
Step 7 (part 2) of this tutorial makes no sense to me. It basically says nothing about salting/hashes or password files. As such, it's assuming a lot of prior knowledge,. Also, it possibly has errors in the provided code, according to the user comments at the bottom of the page.
Can someone who knows PHP take a quick look at it and tell me if the provided script/code is at least flawless? I want to narrow down my problem solving efforts.
So far, all I get my script doing is echoing the following: Your password was incorrect.
The format of my password text file (which I created manually) is:
usernameassword
I have also tried other combinations with no luck.
Last edited: