Jump to content

Recommended Posts

I added a form to my website so people could upload pictures.  When somebody uploads a picture I get sent an email.  Today I keep getting emails saying somebody has uploaded a picture, but when I check it is full of rubbish such as this:

 

aihotryivvjk, [url=http://lfhelcxniajg.com/]lfhelcxniajg[/url], [link=http://zeqmxytfhfob.com/]zeqmxytfhfob[/link], http://equhlndtroti.com/" target="blank">khq2VJ aihotryivvjk, [url=http://lfhelcxniajg.com/]lfhelcxniajg[/url], [link=http://zeqmxytfhfob.com/]zeqmxytfhfob[/link], http://equhlndtroti.com/

 

Every form is filled in with this stuff.  What is this stuff?

Link to comment
https://forums.phpfreaks.com/topic/223075-what-is-going-on-here/
Share on other sites

I wouldn't call it spam because the websites it has put into the form don't exist.  It is just randomly generated rubbish. 

 

I don't have validation because I didn't consider something like this, now I will have to add it.  But what is the point of this stuff?

 

I wouldn't call it spam because the websites it has put into the form don't exist.  It is just randomly generated rubbish. 

 

I don't have validation because I didn't consider something like this, now I will have to add it.  But what is the point of this stuff?

 

 

Who knows...  But, as Mabismad mentioned, you should implement validation.  If you need help with the validation feel free to start another thread with the relevant information.

I have just added validation.  I made 9 number png files and named them 1.png to 9.png then picked a random number from 1 to 9 four times and put them in order $a$b$c$d to make the number and display the png files.  Then it sends the number as a hidden field.  I haven't had any spam since then.

 

So this is really just to annoy people?

I get sent an email

 

If you are not validating the input and you happen to be putting a form field content in to the mail header, it is likely that the spambot script is sending multiple copies of the email through your mail server and the copy you see is just the one going to you, but there could be dozens going to other email addresses.

 

If you are putting data from the form in to the mail header, you should probably log the it to a file or record it into a database table so that you can see what is really going through your script.

 

 

The program only emails me to let me know that somebody has filled in the form.  Everything that goes into the form is put into a database, then I use another website to view what has been entered into the form and decide to delete it or verify it.  Nothing from the form goes into an email.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.