Luke Brown256
06-08-2006, 08:05 PM
Hi,
I am writing a PHP script to allow certain members of my forum to change their own username.
One of the issues i am having though is concerning addslashes.
i have a member on our forum registered called kel'dow, and in the DB his username is kel'dow, if addslashes was being use his name should have been kel\'dow, i have read though that addslashes IS used on VB, so i just want to check is addslashes being used or not?
Also other then htmlspecialchars, should i run any other function on the username?
Luke
I am writing a PHP script to allow certain members of my forum to change their own username.
One of the issues i am having though is concerning addslashes.
i have a member on our forum registered called kel'dow, and in the DB his username is kel'dow, if addslashes was being use his name should have been kel\'dow, i have read though that addslashes IS used on VB, so i just want to check is addslashes being used or not?
Also other then htmlspecialchars, should i run any other function on the username?
Luke