08-13-2011, 05:48 PM
Does it output anything?
PHP/SQL
|
08-13-2011, 05:48 PM
Does it output anything?
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/roperson/public_html/Account/cookie.php on line 11
[This part is made by the sError() function] Error Incorrect username/password I'm going do a mysql_error() to check it. OMG! I failded so epicly. It's because I forgot to select the database!
08-13-2011, 05:55 PM
Lol,
well I'm glad you fixed it.
It's not fixed throu.
I'm pretty sure I'm doing everything right, I' create a test. Yep, I created an account "t" with the pass of "t" and it says "Incorrect"
08-13-2011, 05:58 PM
Can I see the registration code?
08-13-2011, 06:03 PM
Code: $ip=$_REQUEST['ip'];
08-13-2011, 06:04 PM
You have to hash the password the same way it is hashed in the login script.
08-13-2011, 06:05 PM
I never got into hashing...
08-13-2011, 06:07 PM
Well,
then don't hash the password in the login script. |
« Next Oldest | Next Newest »
|