Rezert Posted January 25, 2008 Share Posted January 25, 2008 So I'm trying to be extra-secure with my stuff and I want to make sure that the only things in the username are (A-Z), (a-z), (0-9), (_), and (-). I know I'm using ereg or eregi. But from the examples I see it just sees if there is at least one of the characters. The variable I'm trying to make do this is $username. Link to comment https://forums.phpfreaks.com/topic/87673-yea/ Share on other sites More sharing options...
Rezert Posted January 25, 2008 Author Share Posted January 25, 2008 Sorry I put this in the wrong forum, can someone please move it? Link to comment https://forums.phpfreaks.com/topic/87673-yea/#findComment-448775 Share on other sites More sharing options...
Recommended Posts