Send Checkbox Value In FormMail
hi there - more FormMail problems
I'm trying to get my checkboxes to send a TRUE/FALSE value along with my FormMail. (the rest of the FormMail stuff works a treat)
The checkboxes are just 2-state mc's (unchecked/checked) and I'm presuming that I need to initialise value=TRUE in each movie.
All of the FormMail code is on the 'SEND' button, and again, I'm presuming that the code has to check for any 'TRUE' values from the 3 checkbox mc's. This is the code on the send button as it stands:
Code:
on (release) {
response = "maillistresponse.txt";
subject = "Mailing List";
if (fullname == null) {
error.gotoAndStop("fullname");
}
else if(email == null) {
error.gotoAndStop("email");
}
else if(tel== null ) {
error.gotoAndStop("tel");
}
else {
loadVariablesNum("http://www.MyURL.com/cgi-bin/maillist.cgi", 0, "POST");
error.gotoAndStop("thankyou");
}
}
I've tried all kinds of things to get it working, and it's really going nowhere. If anyone can point me in the right direction, I'd be very, very grateful.
Cheers.I've posted the .FLA here if you feel as though you can help.
FlashKit > Flash Help > Flash ActionScript
Posted on: 07-03-2004, 09:05 AM
View Complete Forum Thread with Replies
Sponsored Links:
Formmail - Checkbox
Hi,
I'm having problems sending information from a checkbox. I have a flsh and php code. I have no ideer how to make this possible.
Please help.
I have attached both my files.
Hope some one can help me with my mail prob.
/Kafir
Php - code:
<?php
$sendTo = "klint@email.dk";
$subject = "Mail fra Hammers web-site";
$headers = "From: " . $_POST["Firma"];
$headers .= "<" . $_POST["Email"] .">
";
// next include a Reply-To:
$headers .= "Reply-To: " . $_POST["Email"];
$message = "Firma: " . $_POST["Firma"]. "
";
$message .= "Adresse: " . $_POST["Adresse"]. "
";
$message .= "Zip: " . $_POST["Zip"]. "
";
$message .= "City: " . $_POST["City"]. "
";
$message .= "Email: " . $_POST["Email"]. "
";
$message .= "Nyhedsbrev: " . $_POST["News"]. "
";
$message .= "Message: " . $_POST["Message"]. "
";
mail($sendTo, $subject, $message, $headers);
?>
View Replies !
View Related
LoadVars Send To FormMail
I am trying to send a simple for to email using the FormMail program. However, the LoadVars object is converting the recipient email address to encoded characters (ie. myFUD%40octanner%2Ecom). I cannot find a setting in Flash nor method in the LoadVars object to not change the characters so that it does not encode those characters. Everything else is working. If I manually change the URL in the address bar and replace the encoded characters with the appropriate characters (@, ., etc), it works fine. I am stumped. How do I make it work?
View Replies !
View Related
Send Variables To FormMail - Problem..
These are the actions that I have on my submit button. I'm receiving everything that is in my text input boxes but not in my ComboBoxes, RadioButtons, and CheckBoxes. Do I need to use a specific action to send the data in these variables to the script?
Thanks for your help...
on (release) {
recipient = "nwhitt1@hotmail.com";
subject = "Estimate Submission";
print_blank_fields = "1";
sort = "firstname,lastname,address,city,state,zipcode,cou ntry,phone,fax,email,month,day,year,othereventexpl ain,location,attendance,duration,appetizers,breakf ast,lunch,dinner,dessert,othermeal,othermealexplai n,themeexplain,dietexplain,alcoholexplain,heardabo ut,hear_email,hear_phone,hear_fax,hear_postal,comm ents";
required = "";
print_config = "";
env_report = "REMOTE_HOST,REMOTE_ADDR,REMOTE_USER,HTTP_USER_AGE NT,HTTP_REFERER";
loadVariablesNum("http://www.hellskitchenchicago.com/cgi-bin/formmail.cgi", 0, "POST");
gotoAndStop("pg4");
}
View Replies !
View Related
How To Send Mail From .swf File Trough Formmail.asp?
How to send mail from .swf file trough formmail.asp?
I created interface, and botuns, but nothing is passing trough.
here's the code:
Frame 1
recipient = "mail@domain.hr";
Name = "";
text = "";
eMail = "@";
Frame 2 - submit bottun
recipient = "mail@domain.hr";
loadVariablesNum("../cgi-bin/formmail.asp", 0, "POST");
Help me
View Replies !
View Related
AS 2 Problems Sending Mail With PHP, Can You Send From Flash With FormMail.pl?
Hi,
I am at wits end. I have a simple contact for on my web site. I built it just as the tutorial instructed and it's just not working. Can anyone tell me what I'm doing wrong?
This is the Action Script for the form:
var senderLoad:LoadVars=new LoadVars();
var receiveLoad:LoadVars=new LoadVars();
submit.onRelease=function() {
senderLoad.yourEmail=yourEmail.text;
senderLoad.sendAndLoad("http://atlastotalweb.com/send.php",receiveLoad);
}
receiveLoad.onLoad = function() {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
This is the send.php file that I have on the server:
<?PHP
$to = "shandahardin@yahoo.com";
$subject = "Flash Contact Form Submission";
$message = "Name: " . $theName;
$message .= "
Email: " . $theEmail;
$message .= "
Message: " . $the message;
$headers = "From: $the Email";
$headers .= "
Reply-To: $theEmail";
$sentOk = mail ($to,$subject,$message,$headers);
echo "sentOk=" . $sentOk;
?>
View Replies !
View Related
Send Checkbox Info
I have made a formmail in flash and needs the chechbox's (news) to be send along with the other informations.
My AS code is:
on (release) {
if (Firma eq "" or Firma == undefined) {
Status = "Venligst indtast firma navn";
} else if (Email eq "" or Email == undefined) {
Status = "Venligst indtast email";
} else if (Message eq "" or Message == undefined) {
Status = "Indtast venligst en besked";
} else {
lineAdapt();
loadVariablesNum("email.php", 0, "POST");
Firma = "";
Adresse = "";
Zip = "";
City = "";
Email = "";
News = "";
Message = "";
gotoAndStop("sent");
}
}
My php code is:
<?php
$sendTo = "klint@email.dk";
$subject = "Mail fra Hammers web-site";
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["Firma"];
$headers .= "<" . $_POST["Email"] .">
";
// next include a Reply-To:
$headers .= "Reply-To: " . $_POST["Email"];
// now we can add the content of the message to a body variable
$message = "Firma: " . $_POST["Firma"]. "
";
$message .= "Adresse: " . $_POST["Adresse"]. "
";
$message .= "Zip: " . $_POST["Zip"]. "
";
$message .= "City: " . $_POST["City"]. "
";
$message .= "Email: " . $_POST["Email"]. "
";
$message .= "Nyhedsbrev: " . $_POST["News"]. "
";
$message .= "Message: " . $_POST["Message"]. "
";
mail($sendTo, $subject, $message, $headers);
?>
I just doesn't send the information where the checkbox is checked or unchecked.
Hope you can help me.
View Replies !
View Related
Send XML Out Of Flash (CheckBox)
Hello all!
I hope I find someone to help me solve my problem! I would like user to add their mail and other properties in my mailing list so I have to send things out of Flash (MX 2004 pro). There is no problem sending out data from (UI component)TextInput! I also have a code here:
xmlToSend="<mailing list><mail>"mail.text+"</mail><name>"+name.text+"</name><address>"+address.text+"</address><zip>"+zip.text+"</zip><post>"+post.text+"</post></mailing list>"
As you can see I have five tags here: mail, name, address, zip and post. But here is another thing! I would like to atach here four more tags! I would have four diferent mailing lists: News, Interviews, Reviews and Events! Later when I will send mailings, this will be groups, but before that I must have the right database. I put four CheckBox (UIcomponents) with those instances and I would like to atach the boolean value to the xml above!
I hope I find someone to help me with this! Im a beginer so any help is welcome!
Ury
View Replies !
View Related
FormMail Help
**I posted this in the scripting forum, but thought I might get help here also...sorry for the double post**
Hi - I am not very familiar with scripting, but I am certain that there is something simple that is wrong with my syntax here.
I have a button in an MC within my movie which has the following code attached to it. When I run the swf from my desktop, it works beautifully. It sends variables to a FormMail program which I have on my server which generates an email from it (an email subscribe button)
[code]
on (press, keyPress "<Enter>") {
recipient = "jesse@marshmallowpie.com";
subject = "Subscribe";
body = "Please subscribe me to your email list " + email;
loadVariablesNum("http://www.marshmallowpie.com/cgi-sys/FormMail.cgi", 0, "POST");
play();
}
[code]
As soon as I put the files on the internet, it doesn't work. Here's the thing...the swf is on one server...the cgi is on another server across the internet. Does flash not allow itself to use a POST across servers across the internet? (I remember reading something about this as a security flaw) If that's the answer, then I will stop (and that REALLY sucks, but I guess they had their reasons for doing this. If you want more info, let me know.
RH
View Replies !
View Related
Formmail
Hey, my form mail is not working...I made the script executable and I have it in CHMOD Mode...
Now, on my button that I have the load variables action on , do I have to list what variables I want loaded with the form? Or will Flash know to load only the variables in the movie clip that my mailform is in?
In any case, can someone describe what I need to do? Thanks...
Kidd Flash
View Replies !
View Related
Formmail - Php
hi,
do anyone knows how to use the formmail script in flash ??
i use to have a site designed for sendmail.asp,
i change servers,
the new servers dont use it and i have to deal with formmail,
i dont really know about formail and the php codes,
how to use it with flash actionscipt ??
i apreciate any help,
regards,
oce
View Replies !
View Related
FormMail
Can someone please help, I got everything working on this form, except it wont send or recieve email. Its a contact page with a check box, it takes, first name, last name, company, and email, and a check box, when a check box is clicked, in a label it printed if check or not, then this goes to a php script sendmail.php, which loadsvariables, and sends it. Everything shows working but emails do come. Can someone help me please...
I have included my php file and FLA file.. you can download from
http://www.novshadyan.com/test/test.zip
If any1 can assist would be very appricate it.
Thank You
DNG
View Replies !
View Related
Formmail
Can't seem to get the formmail to work on a site ?
I am using matts, but I think the problem lies in my server being on a windows platform rather than unix or linux ?
Does anyone know how to adapt the flash to .pl formmail ? or anyone got a version I can use on windows...
View Replies !
View Related
Formmail Prob....
Hi,
I'm trying to get my Formmail-mc working, there is only one mayor problem...offline it's working fine... it even sends mail, but when I upload it to my own server it stops working.
I've tried to work from my server with a pure HTML file and a form, that did work. (I thought my script was idle, but it works)
So bottomline is: My MC is working everywhere, but not online?
All the action is here... I've tried two options one with GET and one with POST (POST is working, GET not)
loadVariables ("http://scripts.ladot.com/cgi-bin/formmail/formmail.pl", "", "POST");
What's going wrong here?
TTFN,
Patrick
View Replies !
View Related
Big Problems FormMail 1.6
Ive made a form containing various fields inlcuding:-
"subject" & "recipient"
the action on my send button is:-
On (Release)
Load Variables (http://www.serveraddress.com/cgi-bin/FormMail.cgi)
End On
this all works fine locally in a browser from my machine, but when I upload it and fill out the form online, I get no email sent to me, not even an error message.
I don't understand why it works on my machine but not once uploaded, as they bothe send the data to a remote server to be proccessed.
Ive done a html form that works fine.
Can anyone help?
View Replies !
View Related
Using Formmail In Flash...
okay I am making a feedback form on my website in flash and I'm trying to link the submit button in flash up to my formmail on my domain.. This is what I have...
3 text boxes ( name, email, suggestion )
this is the action script inside the submit button...
on (release) {
len = length(email);
counter = 1;
flag = 0;
dot = 0;
while (Number(counter)<=Number(len)) {
Char = substring(email, counter, 1);
if (Char ne "@") {
flag = Number(flag)+1;
} else {
dot = 1;
}
if (Number(dot) == 1) {
if (Char eq ".") {
dotflag = 1;
}
}
counter = Number(counter)+1;
}
if (Number(flag) == Number(len-1) and Number(dotflag) == 1) {
tellTarget ("message") {
gotoAndStop (2);
}
Message = "mail address is correct";
getURL ("http://www.morphic-designs.com/cgi-bin/sendorder.pl?recipient=Justin@morphic-designs.com", "_blank", "POST");
} else {
tellTarget ("message") {
gotoAndStop (3);
}
Message = "incorrect mail address";
}
}
What do I need to do so that it sends me the form contents?
[Edited by jblack144 on 03-18-2002 at 11:16 PM]
View Replies !
View Related
Help With FormMail Scripts
Please, please help. I have just launched a website for a new bar I'm opening in Soho, London and already experiencing problems.
I have a feedback form which doesn't seem to send mail. Why is this? I have a formMail.cgi script on the server but it was sesigned originally for an html form and not a flash form. Is there a flash equivalent? Or actionscript that can create a text file and send it to a predetermined email address?
Thanx
View Replies !
View Related
Forms And FormMail.pl
I wanted to make a form in Flash and followed the tutorial ( http://www.flashkit.com/tutorials/Dy...15/index.shtml )........but it no worky....
using this for my send button:
On (Release)
Load Variables ("http://www.mydomain.com/cgi-bin/myform.cgi", 1, vars=POST)
End On
is this just for flash4?
thanks
View Replies !
View Related
Formmail Problem
Hello all,
I am having quite the little problem. Here it goes.
I am using the standard Formmail.pl script.
It works great when I use an HTML form.
When I use it with my Flash movie I get "Bad refferer" feedback.
I am using this Actionscript in my flash movie:
on (release) {
recipient = "myname@jmysite.com";
loadVariablesNum("cgi-bin/formmail.pl", 0, "GET");
gotoAndStop("thank you");
}
The 4 variable text inputs are:
Name
Email
Subject
Feedback
Everything seems right to me. Can anyone please offer some feedback? It would be greatly appreciated. Thanks for your help in advance.
View Replies !
View Related
Formmail Quandry
Hi
I am trying to get a form up and running in Flash using CGI with Formmail. I have followed the tutorial
http://www.flashkit.com/tutorials/Ac...83/index.shtml
and everything seemed to be working. However (as usual) something isn't! Here is the code on my send button
on (press) {
subject = "INFORMATION REQUEST";
recipient = "k33registration@fruitbatspace.com";
loadVariablesNum ("http://www.fruitbatspace.com/formmail/formmail.cgi", 0, "GET");
}
on (release) {
gotoAndPlay ("thankyou");
}
I fill the form in and press send, it goes to the thankyou frame but nothing comes through to the e-mail. The form is on the root level of the animation and the page is on the same server as the CGI. The fields all have variable names. The e-mail and CGI address work on HTML pages but not in this.
I know making mistakes is the easiest way to learn but it would be nice to get something right first time.
Any board members can help me or suggest whats wrong, I would appreciate it.
Thanx
Manson
View Replies !
View Related
Flash FormMail, But Not PHP ,anyone Got One?
I want to make a Flash formail for a new version of my site. I have a working PERL one on my current site, it works pretty well but it seems to require a HTML redirection page.
So after sending a message the user gets taken away from the flash, the looping music cuts out etc. I'd like to have a system on my new site, where all the message sending is all contained within my site and they don't ever have to leave the flash.
Does anyone have a script in PERL or something similar (my server doesn;t seem to let me use PHP) that lets you send the message without any HTML redirection?
Any advise on this would be greatly appreciated.
cheers
Simon
View Replies !
View Related
Problem With Formmail.pl
I have been using formail for a long time with my flash files. however the New script 1.92 doesn't want to work from flash anymore. I can only get it to work with a html form.
has anyone here come accross this? I need to make it work in my flash form again. Is there a new way to action scripting the form?
View Replies !
View Related
Formmail In Flash
Hi there.
I'm trying to put together a simple FLASH form using the formmail CGI script from Matt's script archives, which I've been using for my HTML form needs. I can't seem to figure out how to set up the linkages to get my flash form to submit, return, etc properly. Does anyone out there know of a resource that can help me with this? I've looked at the Macromedia pages on using components, and the movies available here on Flashkit, and tried to sort it out but I'm just getting lost in the code. An example of a functional Flash form using formmail or some sort of tutorial would be awesome, or if someone out there could help me with the process I'd be grateful, your time permitting.
Thanks!
Jeff@IM
View Replies !
View Related
Formmail In Flash
Hi there.
I'm trying to put together a simple FLASH form using the formmail CGI script from Matt's script archives, which I've been using for my HTML form needs. I can't seem to figure out how to set up the linkages to get my flash form to submit, return, etc properly. Does anyone out there know of a resource that can help me with this? I've looked at the Macromedia pages on using components, and the movies available here on Flashkit, and tried to sort it out but I'm just getting lost in the code. An example of a functional Flash form using formmail or some sort of tutorial would be awesome, or if someone out there could help me with the process I'd be grateful, your time permitting. A solution that would work in Flash 5 or Flash MX is fine, I'm version-friendly.
Thanks!
Jeff@IM
View Replies !
View Related
Flash And Formmail
I hope someone can help me with this! I am using Flash MX and incorporating a basic form. I have formmail on my server, and it worked fine with HTML but no go with FLash. Here is the submit button script, and for some reason it will not mail the form to me. PLEASE HELP!! this is driving me insane.
on (release){
recipient="myname@myserver.com";
loadVariablesNum("myserver.net/formmail.pl",1,"POST");
play();
}
WHat am I doing wrong? Or can anyone send me a link to a good script that works well with Flash?
Thanks
JCFRA420
View Replies !
View Related
Formmail And Flash
Hi people!
Can anybody point me in the direction of a TUTORIAL that shows how to use Formmail within Flash.
I am basically building a site in Flash that includes an email order form (no transactions take place), and would like to know how to use Formmail along side actionscript (which is holding my variables and and powering the submit button etc).
Can anybody help me?
Cheers
Deadhands
View Replies !
View Related
About Php And Swf File Formmail
Hi! I'm trying to use a formmail tutorial. The flash send the data to the php file and the php send the e-mail and confirm the send.
Well, the problem is: the swf send the data to php ok and the php confirms the send, but I don't receive any confirmation e-mail. Is could it be possible that the server when the files are hosting has problems with the php "mail" function??? any idea?
thanks!
View Replies !
View Related
Formmail Tutorial
Does anybody have a fla and Perl or CGI script or know of a good tutorial (not the one on Flashkit site or MM) for formmail to send data, which then can be received by email?
Thanks for any help.
View Replies !
View Related
Formmail In Flash
i'm looking to have a simple feedback form that sends the results of a form (even just a one line textfield) to a specified email address. I can do forms in HTML but don't even know where to start when it come to doing one in flash. I've enclosed the php script i use with a html example that works. Now i basically need to transfer it all into flash. If there is a simpler way of doing this then i'll try it.
I hope someone can help!
Many thanks
View Replies !
View Related
[F8] Actionscript For Formmail Php
I know very little about actionscript and I bought a flash template that uses a form. I need to be able to use my php formmail script that resides at http://www.mydomain.com/flash/aformmail.php
Here is the actionscript that current resides in the submit button. How do I add my http://www.mydomain.com/flash/aformmail.php to this? Thanks!
code: on (rollOver) {
this.gotoAndPlay("s1");
}
on (rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
_parent.t1_2 = "Your full name:";
_parent.t2_2 = "E-mail address:";
_parent.t3_2 = "Your telephone:";
_parent.t4_2 = "Message:";
View Replies !
View Related
Formmail Confusion
Hi I'm new here and I hope someone can help me.
I have created a form in flash MX 8 which works when I'm not online, that is to say i am receiving the mail. But when I upload the swf file to my site and fill in the relevant information in the text fields then press the send button, the status bar gives the message waiting for www.mydomain.co.uk. I know my formmail.cgi is working and the actionscript is good, because like i mentioned above offline I'm getting mail, but online I'm not. The formMail.cgi was not created by me, I've used FormMail by created by Matt's Script Archive, Inc. Which was supply by my ISP and I used this script many times before in the past and it has worked successfully, I have never had a problem in the past.
I'm totally confused and need help
thanks dguild
code:
var message = new LoadVars();
formMailURL = "http://www.mydomain.co.uk/formail/formmail.cgi";
var accept = "I would like to receive further information about your products.";
var gEmail = "email: "+_root.email.text;
message.fullname = _root.fullname.text;
message.email = _root.email.text;
message.content = accept+newline+gEmail;
message.subject = "Register for mailing list.";
message.recipient = "tec@mydomain.co.uk";
message.required = "email,fullname,content";
message.env_report = "REMOTE_HOST,HTTP_USER_AGENT,REMOTE_ADDR";
message.sendAndLoad(formMailURL, message, "GET");
message.onLoad = function(success) {
if (success) {
_root.success.text = "success"
}
};
FormMail was created by Matt's Script Archive, Inc.:
FormMail Version 1.92
Copyright 1995-2002 Matt Wright mattw@scriptarchive.com
Created 06/09/95 Last Modified 04/21/02
Matt's Script Archive, Inc.:
View Replies !
View Related
Flash To FormMail
text below is the script my server host emailed me for using their cgi script (generic formmail). it makes sense to me.
i have a flash movie (swf) with about 5 scenes. i have various sections of a survey in each each scene. for instance, questions 1-10 are in scene 1. each frame in scene 1 has 5 buttons to select (strongly agree - strongly disagree). each button assigns a different value to that variable (e.g., question1, question2...). i want to use formmail from within flash to mail me all 80 variables values when the test is complete. is this simple. if not, can you direct me where to learn this? TIA!
-sean
----------------------------
here is the example i was sent. this works fine and dandy in html, but i want to do it from within flash 5 if possible (and with my own variables).
<form action="/cgi-bin/FormMail.pl" method="post">
<input type="hidden" name="recipient" value="jayhawk@mac.com">
Your Name: <input type="text" name="Name">
Number of Llamas You Own:
<select name="Llamas:">
<option selected value=0>None
<option value=1>One
<option value=2>Two
<option value="More than Two">More than Two
</select>
<!-- more input fields here that the customer fills out if you wish -->
<input type="submit">
</form>
View Replies !
View Related
Formmail.pl Issue
I have a Flash form connected to a formmail.pl script. The formmail opens a new generic thank you page. Does anyone know how to stop this or otherwise suppress the perl's redirect?
Thanks
View Replies !
View Related
FormMail Results
I am trying to create a simple formmail on my contact page. I have created a hidden variable for "recipient" with my email address....and Post is set to the URL of my CGI. Iit actually works...but the results contain TOO MUCH info. I even have two fields from my preloader that are coming in on the screen...oddly THEY look the way I wish all the other info should look but I don't want those included.....SEE BELOW...
How do I get rid of all the unimportant info and get the email to come in clean. Here are the results:
Below is the result of your feedback form. It was submitted by
(<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="11" COLOR="#333333" LETTERSPACING="0" KERNING="0">jennifer@sylar.com</FONT></P></TEXTFORMAT>) on Thursday, January 11, 2007 at 07:37:37
---------------------------------------------------------------------------
percent: 100%
loaded: 100
name: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="11" COLOR="#333333" LETTERSPACING="0" KERNING="0">Jennifer Adamowsky</FONT></P></TEXTFORMAT>
message: <TEXTFORMAT LEFTMARGIN="3" RIGHTMARGIN="3" LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="11" COLOR="#333333" LETTERSPACING="0" KERNING="0">test1234</FONT></P></TEXTFORMAT>
---------------------------------------------------------------------------
Thanks,
Jennifer
View Replies !
View Related
Guestbook Formmail
hello boys I need your help. I have a guestbook formmail and need that the text replaces me whenever it refills the form, that is to say, that instead of that one writes the text under other that should replace it.
I put you a linkage to see it online.
http://usuarios.lycos.es/cameron23/
also leave to you the fields.
thank you
View Replies !
View Related
Problem With Formmail
I am using the code below to send an e-mail form.
It sends the e-mail, but it also opens a new window that
says "Thank You For Filling Out This Form".
How can I get rid of this message, and the new window.
I am using the Matt's formmail.pl
You can view the site at http://www.egecelengil.com/Palisade
var address:String = "http://www.egecelengil.com/cgi-bin/formmail.pl";
var url:URLRequest;
var variables:URLVariables = new URLVariables();
variables.subject = "Information Send From Palisade Academy Web Site"
variables.recipient = "ege@egecelengil.com"
submit_btn.addEventListener(MouseEvent.CLICK, sendform);
function sendform(event:MouseEvent):void
{
variables.name = name_txt.text;
variables.email = email_txt.text;
variables.address = adress_txt.text;
variables.phone = phone_txt.text;
url = new URLRequest(address);
url.method = URLRequestMethod.GET;
url.data = variables;
navigateToURL(url);
}
View Replies !
View Related
FormMail Error
Hi,
I`ve designed a contact/enquiry form in Flash 8 Pro and set it up using the FormMail perl script. I keep getting an error saying "Bad/No Recipient". I`ve used this form before successfully with a another client who has a different web host so I`m finding it frustrating that this other one won`t work. The client`s web host doesn`t have a cgi bin on their server. The form uses the sendmail function. Could this be the problem?
Maybe I need to use another form perl script? Are there any free perl scripts available which are easy to change as my knowledge is very minimal.
Thanks.
View Replies !
View Related
Help With Flash Formmail
Can someone please help, I got everything working on this form, except it wont send or recieve email. Its a contact page with a check box, it takes, first name, last name, company, and email, and a check box, when a check box is clicked, in a label it printed if check or not, then this goes to a php script sendmail.php, which loadsvariables, and sends it. Everything shows working but emails do come. Can someone help me please...
I have included my php file and FLA file.. you can download from
http://www.novshadyan.com/test/test.zip
If any1 can assist would be very appricate it.
Thank You
DNG
View Replies !
View Related
Help With Formmail Cgi Email Form
Hello there, having big problems with a flashform I've done.
Downloaded a formmail.pl and mada some changes for the variables.
http://www.fullforce.tv
Actually my flashform has three variables: name, email and comments.
I know I have to place a load variables in the submit button, pointing to my cgi in the server http://www.fullforce.tv/cgi-bin/formmail.pl
...but I don't get anything(!)
The following is a part of the formmail I have on the server in order to set the variables, is there anything lacking?
Thanks, Piero
#!/usr/bin/perl
################################################## ############################
# FormMail Version 1.6 #
# Copyright 1995-1997 Matt Wright mattw@worldwidemart.com #
# Created 06/09/95 Last Modified 05/02/97 #
# Matt's Script Archive, Inc.: http://www.worldwidemart.com/scripts/ #
################################################## ############################
# COPYRIGHT NOTICE #
# Copyright 1995-1997 Matthew M. Wright All Rights Reserved. #
# #
# FormMail may be used and modified free of charge by anyone so long as this #
# copyright notice and the comments above remain intact. By using this #
# code you agree to indemnify Matthew M. Wright from any liability that #
# might arise from its use. #
# #
# Selling the code for this program without prior written consent is #
# expressly forbidden. In other words, please ask first before you try and #
# make money off of my program. #
# #
# Obtain permission before redistributing this software over the Internet or #
# in any other medium.In all cases copyright and header must remain intact #
################################################## ############################
# Define Variables #
# Detailed Information Found In README File. #
# $mailprog defines the location of your sendmail program on your unix #
# system. #
$mailprog = '/usr/lib/sendmail';
# @referers allows forms to be located only on servers which are defined #
# in this field. This security fix from the last version which allowed #
# anyone on any server to use your FormMail script on their web site. #
@referers = ('fullforce.tv','youripaddress');
# Done #
################################################## ############################
View Replies !
View Related
Formmail Not Working, New Ideas?
I'm so frustrated. I have an input form on my website that is supposed to email me the information users enter into it. I have all my scripts right and as far as I know I have my formmail.pl set up right. My server http://www.f2s.com won't help me figure out why this isn't working. I am not getting any results via email.
So I thought maybe I could just enter a script that sends the variables to an email popup, kind of like mailto: blah blah@domain.com
This way the subject variable and the message variable would be entered into my form and then put into the right places on the real email form so the user just has to press send.
Any ideas of how to do this? Or any other suggestions?
Oh yeah, and if you want to see where it is on my site the add is http://www.crossfire.f2s.com and then under contacts, then post me.
Thanks!
Katie
View Replies !
View Related
Flash FormMail Problem
I'm making a Flash form to work with FormMail with input text fields for user name, email and comments, with the variable names of realname, username and comments respectively. For the submit button, I have the following action script:
on (release) {
subject = "Site Comments";
recipient = "electric_yada@hotmail.com";
loadVariables ("/cgi-sys/FormMail.cgi", this, "POST");
I've got all the variables correct, I think, and the correct location of the server, but no mail is being forwarded to where I specify it to go.
Any ideas,
MethodAir
View Replies !
View Related
HELP PLEEZE FORMMAIL Will Pay Someone A Small $$$
I am a newbie at this and any information would help but if anyone is willing to personally help me I will pay some $$$!
I simply need to know how TO CREATE A WORKING FORMMAIL using flash and make it sned to an email address.
I don't know CGI, I don't know GET or POST or any of that stuff. I am a freelance print designer and just got into all the web stuff recentyl!!!
PLeeze is anyone available or can at least lead me the way!!!
Thank You!!!
Joshua Ortiz
http://www.metamorph-x.com
josh@metamorph-x.com
View Replies !
View Related
|