Hi there. I just arrived and I am absolutely new in PHP…
I use your Contact Form free download which is by the way great and easy to use, (many many thanks for sharing ).
I uploaded it to server and it works like a charm EXEPTED : I can not change the email from variable in order to get it right….
I received a test email sent from me and the variable $EmailFrom is of course not customize :? . How can I get it correctly filled up ?
Thank you for your help
Pls find under php code sample :
// redirect to success page
// CHANGE THE URL BELOW TO YOUR “THANK YOU” PAGE
Hi to you 2.
Sorry for my late reply.
First to davesgonebananas :
I will get the adress of the person who sent me a message ? I am sure I am missing something, considering that I input already my own email adress in the variable :
Am I right? Or totally wrong :?
if your form has a user input field and has the attribute of name="email"
when you submit the form it should be sent to your php file handling the contact script………
so when the script is running, it takes the value of the input feild called email and assigns it to a variable called
does this make more sense?
think about your form first, this is where you are going to gather the information.
in the script you really want to get the users email & post the contents of the form to someone else…..
$to = "email@example.com"; this is going to the preson who needs the info
$from = $_REQUEST; //this is from the person filling in the form
later on, in same script, you can email yourself with the contents, and also send an email back to the person who filled in the form with a thank you email.
You must be logged in to reply to this topic.