PHP mail script

Hey guys,

i dont know much about php programing, just a bit… I am trying to make a site where it requires people to submit their email address to which a link will be sent to that address automatically. The script should also send the email address of that person to my email. I found a simple php contact form script and tried to modify it but was unsuccessful as to my limited knowledge.

the following is where i got the script from:

http://www.freecontactform.com/email_form.php

Any help is highly appreciated.

not sure how you tried to modify it, but to send it to you, just do another mail() call with a seperate message and stuff. thats how i do my sign up form.

Just add yourself and the sender to the mail headers. (to: [email protected], [email protected]), or send your self a blind copy (bbc: [email protected]), and add the link as part of the “message”.

but first turn the submited email into a $var
example:
$sender = $_POST[‘email’];
$to = “to: $sender, [email protected]”;

do a bcc or cc. people don’t need to know that you’re getting a copy of their login info.

Sponsor our Newsletter | Privacy Policy | Terms of Service