Tanya32 Posted November 22, 2006 Share Posted November 22, 2006 Sorry if this is the wrong forum. Anyone out there have any code that would prevent a spammer from auto subscribing to a list serve, i.e., hidden fields or? anything that works, these are valid emails and are mainly coming from gmail.com Quote Link to comment https://forums.phpfreaks.com/topic/28173-form-validation-auto-subscribing-to-list-serves-by-spammers/ Share on other sites More sharing options...
Philip Posted November 23, 2006 Share Posted November 23, 2006 Try using a Security Image. Quote Link to comment https://forums.phpfreaks.com/topic/28173-form-validation-auto-subscribing-to-list-serves-by-spammers/#findComment-128909 Share on other sites More sharing options...
DeathStar Posted November 23, 2006 Share Posted November 23, 2006 How do i get an validation image? Quote Link to comment https://forums.phpfreaks.com/topic/28173-form-validation-auto-subscribing-to-list-serves-by-spammers/#findComment-128922 Share on other sites More sharing options...
Tanya32 Posted November 23, 2006 Author Share Posted November 23, 2006 We don't want to use an image. We are looking for some code that will bounce the subscription if they fill out the "unseen" field. Quote Link to comment https://forums.phpfreaks.com/topic/28173-form-validation-auto-subscribing-to-list-serves-by-spammers/#findComment-129184 Share on other sites More sharing options...
alpine Posted November 23, 2006 Share Posted November 23, 2006 Are you saying that you want an empty hidden field in your form and check if the hidden field contains data when submitted ?if(empty($_POST['the_hidden_field'])){// the field is empty} Quote Link to comment https://forums.phpfreaks.com/topic/28173-form-validation-auto-subscribing-to-list-serves-by-spammers/#findComment-129194 Share on other sites More sharing options...
Tanya32 Posted November 23, 2006 Author Share Posted November 23, 2006 Yes, so it won't submit the form when the hidden field is filled out. Quote Link to comment https://forums.phpfreaks.com/topic/28173-form-validation-auto-subscribing-to-list-serves-by-spammers/#findComment-129223 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.