Forum Moderators: coopster

Message Too Old, No Replies

My php email script is getting used by spammers. Please help.

         

skuba

5:17 pm on Aug 21, 2006 (gmt 0)

10+ Year Member Top Contributors Of The Month



Hi Guys,

I have been using a vert basic php form that sends its contents via email. But recently I am getting hundreds of spam emails that are using my script.

Basically, I use a HTML form that sends the value to a PHP script, which sends me an email with the contents.

I was told I need to use a ramdom numbers/letters generator or block multiple script uses from the same IP. Could somebody please help me with that or giving me other solutions?

I already get the IP information with:
$message .= ( "IP = " . $REMOTE_ADDR . "\n");

Is there a way I could leverage that to avoid the spamming?

Thanks so much for helping.

jatar_k

7:04 pm on Aug 21, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



try this thread from the Library [webmasterworld.com] skuba

Combatting Webform hijack [webmasterworld.com]