homepage Welcome to WebmasterWorld Guest from 54.166.128.254
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
HELP! I am being spammed with injections.
Hundreds of emails taking over my life...
bartainer

5+ Year Member



 
Msg#: 9756 posted 4:28 pm on Sep 11, 2005 (gmt 0)

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]

 

vBMechanic

10+ Year Member



 
Msg#: 9756 posted 4:46 pm on Sep 11, 2005 (gmt 0)

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

[webmasterworld.com...]

frenzy77

10+ Year Member



 
Msg#: 9756 posted 4:08 pm on Sep 12, 2005 (gmt 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:

[webmasterworld.com...]

Hope this helps:)

frenzy77

linkshark

10+ Year Member



 
Msg#: 9756 posted 4:33 pm on Sep 12, 2005 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved