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?
to join our mailing list...my question is what is the action script to make that work?
Do you have a db and a server side scripting language avaiable like php and a mysql db?(or similiar)
Billystyx
Billystyx
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
(BTW, better ask the mods to remove your email address from here if you don't want spammers picking it up:)
Billystyx
ASKER
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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,$ti tl);
$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
<?php
$subject=$_POST['subject']
$mess=$_POST['mess'];
$mailaddress='me@something
$titl='Messages from people online at http://www.billystyx.co.uk';
mail($mailaddress,$subject
$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
Can you please elaborate on that?
Billystyx