# Mailist List Help

**URL:** <https://forum.kirupa.com/t/mailist-list-help/31361>\
**Category:** flash\
**Created:** [September 22, 2003, 2:16am UTC](https://forum.kirupa.com/t/mailist-list-help/31361 "2003-09-22T02:16:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krivanka](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@Krivanka](https://forum.kirupa.com/u/Krivanka)\
**Post date:** [September 22, 2003, 2:16am UTC](https://forum.kirupa.com/t/mailist-list-help/31361/1 "2003-09-22T02:16:52Z")

</div>

Im trying to create a button that allows a user to enter their email address and have a mail sent to add them. Here is the code I have for the button:

[AS]on (release) {  
if (email == “”) {  
stop ();  
} else {  
loadVariables (“flash.php”, 0, “POST”);  
gotoAndStop (7);  
}  
}[/AS]

and here is the php on the page that the swf is on

```php
<?PHP
$to = "stereotoxic-subscribe@krivanka.com";
mail($to, "Subscribe", "subscribe", $email);
?>

```

More likely than not I did something stupid or didnt do something simple but if anyone could help me get this to work Id appreciate it, Thanks.
