werid problem with mysql query.
Posted 25 May 2006 - 05:28 PM
a script of mine that has a login area doesnt seem to like usernames that have or in the name.
like if a user uses toro or coreuser will not let a user log in correctly displaying errors evetywhere.
now my query is simple, the anti-injection function im using i disabled but still seems to cause problems.
if you want to see anything that could help you help me, just let me know and I'll provide it for you.
Posted 25 May 2006 - 06:09 PM
Posted 25 May 2006 - 06:15 PM
"SELECT * FROM ebb_users WHERE Username='$logged_user'"
$logged_user is either $_COOKIE or $_SESSION(depends on what type of login the user chooses).
the anti_injection script can be found on the code library from this site
Posted 26 May 2006 - 01:55 AM
for now I plan to do some research on a replacement to this injection function
any suggestions are fully welcomed
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users