Link to home
Start Free TrialLog in
Avatar of lefty1980
lefty1980

asked on

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?
Avatar of Billystyx
Billystyx

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

Billystyx
Avatar of lefty1980

ASKER

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.  
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
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?
ASKER CERTIFIED SOLUTION
Avatar of Billystyx
Billystyx

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank you...I'll have to brush up on php I guess
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