UCP Help
#1

Problem Solved.
Reply
#2

You are missing a ; at $_UsersTable = "playerinfo"
Reply
#3

Thanks but i got this error.
"Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u842906769/public_html/connection.php on line 11
Unknown column 'user' in 'where clause'"
Reply
#4

The first thing is not an error, but just a kind of "warning"... It's telling you to change to the mysqli system instead of the old mysql one...
You can ignore it if you don't want to, or you could/should get familar with the mysqli functions and use these instead of the normal mysql ones (pretty much the same habbits)

For the "Unknown column...." error, you are using a query which tries to read or write from the "user" field which doesn't exist in your myqsl table... check for the correct fieldnames in the tables you are trying to access

(probably will be something like 'name' or 'username' or 'userid' or 'id' or whatsoever)
Reply
#5

Thank you very much
Reply
#6

When player login it say wrong pass.
Reply
#7

convert the password input on the login attempt with the same hash, then compare the two hashed passwords
Reply
#8

Problem Solved, Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)