The login script I once wrote has this line in it. And if I remeber it right it worked will all kinds of chars...
format(query,256,"SELECT status,password from players where name=^"%s^"",name) /Oscar, www.bhood.nu > AMX is actually talking to mysql. I doubt I could rewrite it to correct > these oversights. > > Mike > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> hlds_linux >> Sent: Tuesday, November 18, 2003 7:52 AM >> To: [EMAIL PROTECTED] >> Subject: Re: [hlds_linux] Restrict Characters in Player Names >> >> ----- Original Message ----- >> From: "Mike Kercher" <[EMAIL PROTECTED]> >> > Is there a way to restrict users/players from having certain >> > characters in their name? I have some plugins which use a mysql >> > database and when players have names with characters such >> as (! ' "), it messes with the database. >> >> Rather than restrict names you should be encoding the data >> stream to allow it. >> I am not a mysql coder so cannot tell you how. >> -miket >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list >> archives, please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

