Ancore
New Member
- Joined
- Jul 6, 2012
- Messages
- 216
- Reaction score
- 1
Hey friends!
I'm having a problem with my server. When a person who has apostrophe in his name log into the server, the console show an error and sometimes the server crash.
I use ModernACC and I want to know if is possible not to allow names with apostrophes, doing that, the problem would be fixed. If you have any other idea please answer and help me!
Thanks!
- - - Updated - - -
Bump!
I'm having a problem with my server. When a person who has apostrophe in his name log into the server, the console show an error and sometimes the server crash.
Code:
Deska'inzane has logged in.
mysql_real_query(): UPDATE `players` SET `ip` = '190.95.79.185' WHERE name = 'Deska'inzane'; - MYSQL ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inzane'' at line 1 (1064)
I use ModernACC and I want to know if is possible not to allow names with apostrophes, doing that, the problem would be fixed. If you have any other idea please answer and help me!
Thanks!
- - - Updated - - -
Bump!