|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Email Signup form help
Ok, honostly I know zero php, so I am making an offer to whoever wants it. If someone can make me a form that mails to namelesslan@gmail.com and has the following input fields mailed to it, I will make you a web template, sig, logo, avatar, or any photoshop possible image, I can also program in many languages. Please Help and I'll help in return.
I would like the form fields to be titled with the following. Full Name: Game Handle: Age: Email: If someone does help me, Thank you very much, and I really will photoshop anything for ya. |
|
#2
|
|||
|
|||
|
done, PMd you
![]() |
|
#3
|
|||
|
|||
|
hello
Hi there
I am interested, can we chat for further discussion? MSN : praf22@hotmail.com AIM : joypat123 Yahoo : praf22 THanks! praf |
|
#4
|
|||
|
|||
|
You caught me in a good mood. Here is the code you need. I didn't test it but it should work.
HTML (whatever.html): <form action="mail.php" method="post"> Full Name: <input type="text" name="name"> Game Handle:<input type="text" name="handle"> Age:<input type="text" name="age"> Email:<input type="text" name="email"> <input type="submit" value="do it"> PHP (mail.php): $to = 'namelesslan@gmail.com'; $subject = 'This is the subject'; $msg = 'Full name:'.$_POST['name']."\n"; $msg .= 'Full name:'.$_POST['handle']."\n"; $msg .= 'Full name:'.$_POST['age']."\n"; $msg .= 'Full name:'.$_POST['email']."\n"; $headers = 'From: il@infinitylimit.com'. "\r\n" . $headers .='X-Mailer: PHP/' . phpversion(); if(mail($to,$subject,$msg,$headers)){ echo 'Message successfull'; }else{ echo 'Bummer bro, there was a problem'; } |
|
#5
|
|||
|
|||
|
thank you all very much
|
![]() |
| Viewing: Dev Shed Forums > Other > Hire A Programmer > Email Signup form help (for trade) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|