Validate an alphanumeric string


/ Published in: PHP
Save to your folder(s)

This function uses the preg_replace counter to check for any non-alphanumeric characters.

You can use this for username / password validation if you don't want any special characters to be used.

URL: http://robert.im

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.