Hello everybody, 
  
at first thanks for that nice tut.  
  
I have copied all code and now all works, but the login.php does not. 
  
Always, if I would like to login, it applies the following from the else branch.  
  
I have read the entire script several times and found no errors.  
  
Well could someone help me please? Is that way of login-type save enough? 
If you need some more information, please ask me. 
  
Thanks for your effort.  
  
Okay I have founded my mistake. The length of the password column was too short. Same as Guest_New guy_* said. 
  
But I would like to know, if it is save to work with that script. And also I have found something: 
If I register twice with the same data, it do that! That should be avoided. 
  
I think of an "if - construction", is there anyone who could help me please?