Monkuar Posted February 18, 2012 Share Posted February 18, 2012 people on my forum (speakwhatsreal.com) submitting blank spaces like they just copy/paste the blank space in the textarea and how do I check input on that, does strlen work? Quote Link to comment https://forums.phpfreaks.com/topic/257226-how-to-stop-users-submitting-blank-spaces/ Share on other sites More sharing options...
Monkuar Posted February 18, 2012 Author Share Posted February 18, 2012 if (ltrim($ibforums->input['TopicTitle'])) { $std->Error2("Stop being Nawty"); } fixed!! Quote Link to comment https://forums.phpfreaks.com/topic/257226-how-to-stop-users-submitting-blank-spaces/#findComment-1318530 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.