action script for my mailing list button

my site is http://mafiaart.com/veeeeertogo/mainindex.htm    if you look at the bottom left corner of the movie you'll see a space
to join our mailing list...my question is what is the action script to make that work?
lefty1980Asked:
Who is Participating?
 
BillystyxConnect With a Mentor Commented:
Not really, the problem is you can't  send it to yourself automatically without a mail function from php or cold fusion or asp, etc.
With that though - it is just a case of sending the variable value of the textfield to the php doc, like:
on(release){
loadVariables("myphp.php","","POST");
}

Billystyx
0
 
BillystyxCommented:
Depends what you want to do exactly when the person joins the mailing list?
Can you please elaborate on that?
Billystyx
0
 
BillystyxCommented:
Do you have a db and a server side scripting language avaiable like php and a mysql db?(or similiar)

Billystyx
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
lefty1980Author Commented:
I want it to be sent to my email address dtuminello@cox.net so I can just add them to the mailing list when they enter their email address....I'm not familiar with using php and mysql db.  
0
 
BillystyxCommented:
well for that you don't need the db, but you would need something like php if you don't want your email address to actually just be handed out to everyone.
(BTW, better ask the mods to remove your email address from here if you don't want spammers picking it up:)

Billystyx
0
 
lefty1980Author Commented:
thanks for the advice

what  I want to do is accept the visitor's email address by the visitor filing it in the blank and then hitting submit.   Is there an easy actionscript for that without having to use php?
0
 
lefty1980Author Commented:
thank you...I'll have to brush up on php I guess
0
 
BillystyxCommented:
yeah, good luck with it - its not hard, here is a sample script:

<?php
$subject=$_POST['subject'];
$mess=$_POST['mess'];
$mailaddress='me@something.co.uk';
$titl='Messages from people online at http://www.billystyx.co.uk';
mail($mailaddress,$subject,$mess,$titl);
$retmess='&retmess=1&';
print($retmess);

?>
The closing print is so you know in flash that the mail has been sent (if retmess==1)
so you can do something like say thankyou, your mail has been sent...

Billystyx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.