I'm attempting to use ctype_alnum to validate a password. The code:
if(ctype_alnum($formVars['loginPassword']))
when I run the script, I get the following error:
Fatal error: Call to undefined function: ctype_alnum() in /Library/WebServer/Documents/code/validator.php on line 236
My server is running PHP Version 4.1.2
Any ideas why this function is not working?
Thanks