Trouble with senocular's Flash-Based Email Form Using PHP

I’m having a bit of trouble with the tutorial Flash-Based Email Form Using PHP by senocular.

Almost everything works OK, i can get the form to send email OK, but IF the user of the form presses ENTER in the body (“message”) input box, then i don’t get any of the text entered after that in my email…

eg.

IF the User types in the “message” field

Hello,
I need something. Please, it would be nice.
Signed
Mr. User

I get in my email

Hello,

And that’s all.

The code i am using follows.


<?php
$sendTo = "alex@phonicpod.com";
$subject = "Phonicpod.com Work Enquiry";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>

I’ve also tried using the exact source from the tutorial, but that has the same results. Is it something to do with my server or is this a bug in the code?

Thanks.

Hello there!!!

I also did this tutorial, and everything works fine… but i’m trying to push it ahead a bit! Is it possible to add a couple more input text fields?
what should i do? create new variables for each new input text field?

thanks for any help!!!

Yep, don’t forget to change the PHP as well.

scotty(-: