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? 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!! 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
Archived
This topic is now archived and is closed to further replies.