Hi,
I think this can be done with an ereg, i tried working out how to do it ( reading through php.net ) but no luck.
What i need to do is to filter out any characters which are not alphanumeric in a string.
Example:
The user submits the username: elite%%mo34(
So $user = elite%%mo34(
What i want to do is then change $user to elitemo34
If anyone can do a bit of code to do that, it would be great.
Thanks