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

**URL:** <https://forum.kirupa.com/t/trouble-with-senoculars-flash-based-email-form-using-php/52447>\
**Category:** Uncategorized\
**Created:** [May 24, 2004, 4:10am UTC](https://forum.kirupa.com/t/trouble-with-senoculars-flash-based-email-form-using-php/52447 "2004-05-24T04:10:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phonicpod](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@Phonicpod](https://forum.kirupa.com/u/Phonicpod)\
**Post date:** [May 24, 2004, 4:10am UTC](https://forum.kirupa.com/t/trouble-with-senoculars-flash-based-email-form-using-php/52447/1 "2004-05-24T04:10:47Z")

</div>

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.

```auto

<?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.

---

<div class="post-metadata">

**Author:** ![jusko](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jusko](https://forum.kirupa.com/u/jusko)\
**Post date:** [April 10, 2006, 11:53am UTC](https://forum.kirupa.com/t/trouble-with-senoculars-flash-based-email-form-using-php/52447/2 "2006-04-10T11:53:34Z")

</div>

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!!!

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [April 11, 2006, 5:14am UTC](https://forum.kirupa.com/t/trouble-with-senoculars-flash-based-email-form-using-php/52447/3 "2006-04-11T05:14:09Z")

</div>

> [@jusko](#):
>
> …what should i do? create new variables for each new input text field?..

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

scotty(-:
