|
Post by Virtuoso on Nov 26, 2007 9:52:29 GMT
As far as I know, there aren't any here. This isn't the most fullproof, but its worked perfectly fine for me.
function alpha($test) { return (preg_match("/^[\w]{1,}$/i", $test)); }
Command: alpha(object);
Example of use:
if(alpha($_POST['user'])){ $users = $_POST['user']; }
Enjoy!
|
|