Jump to content

Yea...


Rezert

Recommended Posts

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
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.