GoodGuy201 Posted September 8, 2006 Share Posted September 8, 2006 Hi, I am trying to limit the characters that can be used for PHPBB to just letters,numbers,underscore,and dash. I don't know how i can do this. I hope someone can help. Thanks! Quote Link to comment Share on other sites More sharing options...
Jenk Posted September 8, 2006 Share Posted September 8, 2006 ask on phpbb forums, plenty of hacks and other modders there. Quote Link to comment Share on other sites More sharing options...
redarrow Posted September 8, 2006 Share Posted September 8, 2006 A little example for you to see how it works.but i agree you should use the forum from the provided code as jenk said.letters,numbers,underscore,and dash are all clased as a charecter.[code]<?php$name="redarrows";$lenth=strlen($name);if($lenth > 8){echo "sorry the name is to long your using $lenth charecters but there should only be 8";}else {echo "name lenth ok your useing $lenth charecters";}?>[/code] Quote Link to comment 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.