help with ctype_alnum
Posted: Tue Oct 01, 2002 8:14 pm
i have a form that checks the given username for validity using the following if condition:
in the form i have tried inputing "mydimension" so that $_POST['username'] = "mydimension". before i put in the ctype_alnum function this condition would return true. now with the ctype_alnum function it returns false. any ideas?
Code: Select all
(($_POSTї'username'] == "") || (strlen($_POSTї'username']) < 6) || (strlen($_POSTї'username']) > 16) || ctype_alnum($_POSTї'username']))