# Imbed mailing list question!

**URL:** <https://forum.kirupa.com/t/imbed-mailing-list-question/29141>\
**Category:** Uncategorized\
**Created:** [August 22, 2003, 7:57pm UTC](https://forum.kirupa.com/t/imbed-mailing-list-question/29141 "2003-08-22T19:57:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![asignofcollapse](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@asignofcollapse](https://forum.kirupa.com/u/asignofcollapse)\
**Post date:** [August 22, 2003, 7:57pm UTC](https://forum.kirupa.com/t/imbed-mailing-list-question/29141/1 "2003-08-22T19:57:55Z")

</div>

Ok,

Im trying to figure out how to make it possibly for somebody to put in their e-mail addess in an input text box, and by clicking enter, subscribe to a mailing list. BUT i dont want it to open any windows or e-mail clients or anything. They put in their addess, press enter, and done.

Could somebody please tell me the action script i would use or at least tell me if its possible or not.

THank you for your time

Derek

[http://www.signsofcollapse.com](http://www.signsofcollapse.com)

---

<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:** [August 22, 2003, 8:01pm UTC](https://forum.kirupa.com/t/imbed-mailing-list-question/29141/2 "2003-08-22T20:01:08Z")

</div>

You would have to use server side scripting for that. I would (personally) use PHP. Are you using anything like that? I mean - do you have it available to 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:** [August 22, 2003, 8:56pm UTC](https://forum.kirupa.com/t/imbed-mailing-list-question/29141/3 "2003-08-22T20:56:54Z")

</div>

I have PHP support on my server, but im not to familiar with it. Which is why i havent considered it as a option.

Is there somewhere i could get decent information about it (PHP), or at least learn how to do what im trying to accomplish?

Thanx

derek

---

<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:** [August 22, 2003, 9:07pm UTC](https://forum.kirupa.com/t/imbed-mailing-list-question/29141/4 "2003-08-22T21:07:49Z")

</div>

There’s stuff all over the place for it. If you goto [kirupaforum.com](http://kirupaforum.com) (home page) and click on server-side/scripting forum, you’ll see tons of PHP stuff.

For what you are doing, see this:  
[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604&highlight=PHP](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604&highlight=PHP)

Other than that, if you want that email submitted by email, it won’t take much at all. Your PHP script would only be a few lines long!

If you need more help, let me know.

---

<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:** [August 23, 2003, 5:53pm UTC](https://forum.kirupa.com/t/imbed-mailing-list-question/29141/5 "2003-08-23T17:53:55Z")

</div>

Ok, i appreciate everything, and i think that last link about PHP variables in flash (tut 2) is exactly what i need, and actually more. I still dont understand a few things. For instance, in the PHP script for Tut 2, or maybe its in the action script for the button. Where do i define what e-mail addess this is being sent to. I assumed that somewhere i have to put "subscribe@signsofcollapse.com" in order for it to actually subbscribe to the mailing list.

I hope im explaning this clear… thanx

---

<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:** [August 23, 2003, 8:39pm UTC](https://forum.kirupa.com/t/imbed-mailing-list-question/29141/6 "2003-08-23T20:39:41Z")

</div>

in the beginning of the PHP script, there should be a variable called ‘to’ that assings where it goes. It is then used at the end of the script in the mail() command. So, in your PHP script, make sure you have this:

```php

$to = "subscribe@signsofcollapse.com";

```

The mail command is like this:

```php

mail ($to, $subject, $message, $header);

```

---

<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:** [August 24, 2003, 3:49am UTC](https://forum.kirupa.com/t/imbed-mailing-list-question/29141/7 "2003-08-24T03:49:46Z")

</div>

thank you very very much for your time and help.
