Just had a quick look through the code. The problem isn't header injection (you wouldn't necessarily know that is happening anyway) - I think they are just submitting stuff through your form and hoping it gets published somewhere on your site (so they get backlinks) or hoping that someone will get an email, follow the links and buy some s**t.
I was about to let you know about a problem with the first script you posted - anyone could set the recipient from one of the values POSTed to the page which could have turned your form into a great spam engine! But the second time you posted the code it was a little different and the potential exploit had gone (I guess someone else had spotted that one).
I really like the solution that rogoff posted on webmasterworld. Very cunning. I'll try that one myself!
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks