PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I went in and created a mini captcha version for a quote form I have on my site. I hoped this would prevent the incoming spam entries, but it has not. I am thinking that they are using a different version of my send_form.php...any suggestions to secure a script from outsiders? I am hoping there is a way to lock down scripts for only my site to access...may just be me dreaming, but I would love to stop spam. Look forward to any suggestions.....
Are you certain that the spammer isn't human? CAPTCHA tests are good at deterring robots as long as they're set up correctly, but they can't determine if the person behind the monitor intends to solicit you.
well i guess there is no way for me to know for sure...but based on the frequency of the spam entries(emails) it has to be a bot. is it possible for some one to go around and send emails through the mail($to, $subject, $msg, $mailheaders); functionality?
here is my concern...i watched the entries come in last night and the bot/person has to be using another form. The reason i say this is because i placed a maxlength limit on all of the fields(the spammer(s)) are using to insert links. These fields are not being restricted to the maxlength set. when i use the form, it appears to work prpoerly with the capthca system i setup, plus the fields follow the maxlength set. any thoughts?
if(strlen($field_name) > 100){//your limit
//do your rejection here
echo "<fieldset><legend style='color:red;background-color:yellow'>Attention</legend>
Probably you are an automated x-mailer, so keep away. Thanks.
</fieldset>";
}