seany123 Posted February 2, 2010 Share Posted February 2, 2010 im currently in the progress of doing a page where players can have avatars (by inserting the url of image) however i have noticed that people have been able to use urls from my website which will give them +rep so what i wanna do is stop them being able to use the word mafiakillerz in the form so something like <?php if($_POST['avatar'] includes "mafiakillerz") { echo "no"; } ?> Link to comment https://forums.phpfreaks.com/topic/190683-checking-is-specific-words-are-in-the-form/ Share on other sites More sharing options...
mapleleaf Posted February 2, 2010 Share Posted February 2, 2010 if(strstr($_POST['avatar'],'mafiakillerz')) { echo 'No'; } Link to comment https://forums.phpfreaks.com/topic/190683-checking-is-specific-words-are-in-the-form/#findComment-1005619 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.