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.

Nope, it’s not. I’ve even tried the ORIGINAL source files of the tutorial uploaded to my server, and the same thing happens. :puzzle:

Anyone?

Well, seeing as the ORIGINAL source files do the same thing (Get them here) i guess it’s either a problem with the tutorial or the server i’m uploading to. (my provider supports PHP www.readyhosting.com)

As I said before i downloaded the zip and uploaded all the files used in the tutorial (just changing the email address in the PHP code), and i get the same result. I’ve also tried different email addresses and still no luck.

Weird, I did the same tutorial and had no problem with that.
That’s why I asked for your fla;)

scotty(-: