Hi, I'm new to this (collective groan, I know!). I've made a flash form to collect name, email address and a message and have configured it to send the info to my PHP script. This should then send me an email with all the information like this:
name: (the person's name)
email: (that person'e email)
Message: (that's right, you've guessed it, the message!)
However, all I get is an email like this:
name:
email:
Message:
Now, I'm pretty sure the script works in one way because it send the email, but after that I'm so stuck...
I used the script form a tutorial on gotoandlearn.com and include it so you can laugh at my feeble lack of skills:
<?PHP
$to = "weaselandalf@yahoo.co.uk";
$subject = "Flash Contact Form Submission";
$message = "Name: " . $theName;
$message .= "\nEmail: " . $theEmail;
$message .= "\n\nMessage: " . $theMessage;
ini_set("sendmail_from", " weaselandalf@yahoo.co.uk ");
$headers .= "\nReply-To: $theEmail";
$sentOk = mail($to,$subject,$message,$headers);
echo "sentOk=" . $sentOk;
?>
I realise that when it comes in it will read as if I sent it, but that's to do with my server being a little evil.
Help in any shape or form, (I'll tell you where to send a carrier pidgeon if you like) would make my year.
p.s. If I'm in the wrong section, I'm already so so so sorry!