Welcome to WebmasterWorld Guest from 54.205.60.49

Forum Moderators: phranque

Message Too Old, No Replies

HELP! I am being spammed with injections.

Hundreds of emails taking over my life...

   
4:28 pm on Sep 11, 2005 (gmt 0)

10+ Year Member



Hello,

I am currently using a PHP emailer script for my contact pages (forms). However, I am being besieged with hundreds of emails. Is there a script that I can insert that will prevent folks from entering an email with my extension?

Let's suppose that example.com is my hypothetical site! In my forms I ask for your email and there is field to enter. Can I prevent someone from entering xyz@example.com in the email field? I do NOT want folks entering my web site address in the email field!

Thanks.

[edited by: tedster at 5:27 pm (utc) on Sep. 11, 2005]
[edit reason] use example.com [/edit]

4:46 pm on Sep 11, 2005 (gmt 0)

10+ Year Member



See this thread w/ a good resolution at the end:

[webmasterworld.com...]

4:08 pm on Sep 12, 2005 (gmt 0)

10+ Year Member



Hey bartainer:)

I'm not sure, maybe this is what people call a "joe job"? Search online for these keywords. You will find more info online. I believe it deals with emails being sent to people and the emails bouncing back.

Here is a link to some info:

[webmasterworld.com...]

Hope this helps:)

frenzy77

4:33 pm on Sep 12, 2005 (gmt 0)

10+ Year Member



There has been alot of that going on lately. Here is something I added to our php form script recently to prevent what you are talking about:

if (stristr($email, "yourdomain")) {
die("Sorry invalid email. Later dude.");
}

This will prevent the attacker from using your own domain name in the email field.