Welcome to WebmasterWorld Guest from

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)

Full Member

10+ Year Member

joined:Mar 22, 2005
votes: 0


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!


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

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

New User

10+ Year Member

joined:May 3, 2004
votes: 0

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


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

Full Member

10+ Year Member

joined:May 3, 2004
votes: 0

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:


Hope this helps:)


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

Junior Member

10+ Year Member

joined:July 15, 2000
votes: 0

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.