# Php mail form (not another one!)

**URL:** <https://forum.kirupa.com/t/php-mail-form-not-another-one/15154>\
**Category:** Uncategorized\
**Created:** [March 11, 2003, 10:00am UTC](https://forum.kirupa.com/t/php-mail-form-not-another-one/15154 "2003-03-11T10:00:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Coolidge](https://avatars.discourse-cdn.com/v4/letter/c/dec6dc/32.png) [@Coolidge](https://forum.kirupa.com/u/Coolidge)\
**Post date:** [March 11, 2003, 10:00am UTC](https://forum.kirupa.com/t/php-mail-form-not-another-one/15154/1 "2003-03-11T10:00:39Z")

</div>

I know this is a question that gets asked at least once a day, but I have been following this php mail tutorial from [here](http://codewalkers.com/tutorials.php?show=10&page=1)and I can’t seem to get an e mail to go to my account.

I have the php form adjusted with my information (and in the same folder as my swf file). I’ve checked with [readyhosting](http://www.readyhosting.com), my site host, and it says that it supports php.

Am I placing the script in the wrong place (folder)?

Or…Should I scrap this tutorial and try another, or should I go with a different type of script all together?

Thank you in advance,  
Coolidge

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 11, 2003, 1:48pm UTC](https://forum.kirupa.com/t/php-mail-form-not-another-one/15154/2 "2003-03-11T13:48:00Z")

</div>

at the top of your php code put this:

```php

$name = $_POST['name'];
$subject = $_POST['subject'];
$message = $_POST['message'];
$email = $_POST['email'];

```

thats assuming you followed the tutorial exactly and that you used the variables name, subject, message, and email. try adding that to your code… here is another case where they needed to do that…

[http://64.207.155.38/forums/showthread.php?s=&threadid=15399&highlight=%24POST](http://64.207.155.38/forums/showthread.php?s=&threadid=15399&highlight=%24POST)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 18, 2003, 2:26pm UTC](https://forum.kirupa.com/t/php-mail-form-not-another-one/15154/3 "2003-03-18T14:26:21Z")

</div>

thanks for your help, but I’ve checked and double checked my code as well as the variable names and still no luck. Do you think it matters whether or not I am using MX when the tutorial is made for Flash 5?

thanks,  
Sean

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 18, 2003, 4:43pm UTC](https://forum.kirupa.com/t/php-mail-form-not-another-one/15154/4 "2003-03-18T16:43:22Z")

</div>

its shouldn’t matter… here check out these two threads that I wrote. they should help and then include the source files:

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604)

and

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17313](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17313)
