Orionsbelter Posted June 16, 2008 Share Posted June 16, 2008 Ok so some users on my website sign up with domain names, i don't like this so i want to stop them at the register.php page: so say the username field is called $reg_username what coding do i need to echo an message saying username not allowed. i could also use this to stop users setting up names containing abusive words. thanks for all who looked Quote Link to comment https://forums.phpfreaks.com/topic/110416-registerphp-help/ Share on other sites More sharing options...
.josh Posted June 16, 2008 Share Posted June 16, 2008 google php regex. Quote Link to comment https://forums.phpfreaks.com/topic/110416-registerphp-help/#findComment-566486 Share on other sites More sharing options...
revraz Posted June 16, 2008 Share Posted June 16, 2008 Or better yet, there is a great Regex forum right here on this site with links to resources. http://www.phpfreaks.com/forums/index.php/topic,127902.0.html Quote Link to comment https://forums.phpfreaks.com/topic/110416-registerphp-help/#findComment-566491 Share on other sites More sharing options...
.josh Posted June 16, 2008 Share Posted June 16, 2008 Touché Quote Link to comment https://forums.phpfreaks.com/topic/110416-registerphp-help/#findComment-566494 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.