Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check box confirmation by email 1

Status
Not open for further replies.

ghassanghellal

Programmer
Jun 23, 2003
18
GB
I made a form with a list of check boxes in flash mx. When the user clicks a check box(s) I would like to get an email telling me which box(s) they ticket. Is that possible? I know I need to write a CGI script for this. But don’t know how.
Please help
thanks
 
faq250-486

i took a look at this faq. it seems to have what i want. but the links are dead, so i can't access the full code. is php and CGI the same? still dont know how flash interacts with iether!
 
frozenpeas
i have captured the variable in flash. But don’t know what to place in the send button to make it work with my cgi script.

Plus the cgi code I have is a pre-made one. I downloaded it, called formmail.pl
I don’t know what I must change in there to make it work with my form. Don’t I need to fill in the part between ‘’ for each field below? Or at least the fields I am using in my form?

# Define the configuration associative array. #
%Config = ('recipient','', 'subject','',
'email','', 'realname','',
'redirect','', 'bgcolor','',
'background','', 'link_color','',
'vlink_color','', 'text_color','',
'alink_color','', 'title','',
'sort','', 'print_config','',
'required','', 'env_report','',
'return_link_title','', 'return_link_url','',
'print_blank_fields','', 'missing_fields_redirect','');

 
You will want to send the variables to the CGI script using getURL.

Code:
on (release) {
	getURL("[URL unfurl="true"]http://www.yourdoamin.com/cgi-bin/formmail.pl",[/URL] "", "POST");
}

frozenpeas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top