• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

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?
0
lefty1980
Asked:
lefty1980
  • 5
  • 3
1 Solution
 
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
 
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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
 
BillystyxCommented:
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
 
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now