# E-mail form with php

**URL:** https://forum.kirupa.com/t/e-mail-form-with-php/7805
**Category:** Uncategorized
**Created:** [November 7, 2002, 11:56pm UTC](https://forum.kirupa.com/t/e-mail-form-with-php/7805 "2002-11-07T23:56:40Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![takashi0808](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@takashi0808](https://forum.kirupa.com/u/takashi0808)
#### Post date: [November 7, 2002, 11:56pm UTC](https://forum.kirupa.com/t/e-mail-form-with-php/7805/1 "2002-11-07T23:56:40Z")

</div>

I downloaded an e-mail form.  
Then, I changed the valueable of the action script.  
it was"mailPHP.php" but it is now “[http://www.shoppingww.com/flash/mailPHP.php](http://www.shoppingww.com/flash/mailPHP.php)” It is where the php file is located.

When I test the movie (ctrl+enter), I can receive e-mails. But when I upload the movie and test it out, I don’t receive e-mails.

do I need to change something?  
I attached a .fla file and .php file.

Please help me.  
I have been struggling with this for the past few days.  
I can’t sleep!!

Thank you.

---

<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: [November 8, 2002, 12:02am UTC](https://forum.kirupa.com/t/e-mail-form-with-php/7805/2 "2002-11-08T00:02:07Z")

</div>

well, there isnt such a thing, u cant send emails through ur computer unless ur files are in localhost directory and PHP Is installed! and when u upload ur files, u should check permisions if php is really allowed to be used, mail() function too!!

Hope this helps u!

yours,  
h88

---

<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: [November 16, 2002, 7:43pm UTC](https://forum.kirupa.com/t/e-mail-form-with-php/7805/3 "2002-11-16T19:43:08Z")

</div>

I’m having the same problem with my form as well, it works locally on my computer, I receive emails, but when I upload it to my server, I no longer receive emails. Takashi, have you figured it out? If so then please help me, thanks.

---

<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: [November 16, 2002, 8:03pm UTC](https://forum.kirupa.com/t/e-mail-form-with-php/7805/4 "2002-11-16T20:03:42Z")

</div>

Am asking again, did u check if the mail() function is alowed to be used? PHP okay, there are many Free hosters that allow PHP, but not the mail function!

---

<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: [November 16, 2002, 8:20pm UTC](https://forum.kirupa.com/t/e-mail-form-with-php/7805/5 "2002-11-16T20:20:44Z")

</div>

I’m pretty sure my host allows the mail function because this is what I did. I was using a free form mail service on my html site and it worked fine. I then took this link from that form:

```php
http://www.response-o-matic.com/cgi-bin/rom.pl

```

I then stuck it into my flash form and have all the variables sent to that link above which is the script that sends the data to my email. So now it looks like this in my flash form, I applied it to my submit button.

```php
on (release) {
	loadVariablesNum("http://www.response-o-matic.com/cgi-bin/rom.pl", "", "POST")
	nextFrame();
}

```

When I test the form on my comp, it sends data to my email, but when I upload it, it no longer sends data. I was using a free host before and now I’m on a paid host and it still doesn’t work. It only works locally on my comp. If it worked for my regular form, why wouldnt it work for my flash form? Thanks for replying.

---

<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: [November 16, 2002, 9:21pm UTC](https://forum.kirupa.com/t/e-mail-form-with-php/7805/6 "2002-11-16T21:21:52Z")

</div>

Did u test flash locally?

---

<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: [November 16, 2002, 9:35pm UTC](https://forum.kirupa.com/t/e-mail-form-with-php/7805/7 "2002-11-16T21:35:24Z")

</div>

yes, I tested flash locally and the form works, but it doesnt work on my host server. ☹

---

<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: [November 16, 2002, 9:44pm UTC](https://forum.kirupa.com/t/e-mail-form-with-php/7805/8 "2002-11-16T21:44:50Z")

</div>

The onlything should be left is ur Host, ask the adminstrator about PHP and mail() function, maybe he’ll reply you some useful replies
