Sending spam through my hosting.

the mail() function

Moderators: egami, macek, gesf

Post Reply
User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2192
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Wed Dec 07, 2011 8:13 am

Yes.
Because the $_POST['email'] is writing to your email headers, which will overwrite your $to.

User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2192
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Wed Dec 07, 2011 9:46 am

you must have some kind of upload mechanism in your site somewhere, that doesn't check to make sure that it's just an image.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 2 guests