Flash Form Not Working In Flash Website
I have a Flash Contact form that works perfectly by iteself on a server when I embed it into a HTML doc. The information comes right to my designated email I inputted. I have another Flash Website Movie that I want this Flash Contact Form to work in but every time I try to import the Contact Form movie it does not even show the form it only shows the "Connecting to Server" layers that appear when you click the Submit button. When I import it automatically turns the Form into a Graphic which I changed to a Movie but it still just shows the "Connecting to Server" screen instead of the form. Like I stated the Contact form by itself works perfectly fine when embedded into a HTML doc. Please anyone that can help would be most appreicated.
ActionScript.org Forums > Flash General Questions > Flash 9 General Questions
Posted on: 09-16-2008, 05:29 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Email Form Not Working On Flash Website
I have an e-mail forum up on my flash website.
but when you try to send an e-mail i get an error that it count be sent.
I used this to make it...
http://www.smartwebby.com/Flash/sound_button.asp
and it came with a .php attachment, and two .as attachments.
I put them all up on the internet, but I'm not sure why it isnt working.
my site is:
http://consumeconsumer.com/test.html
click on contact then the e-mail button.
also I'd rather have the form disapear from the stage if someone clicked on another part of the site. but it only goes away if you click on the "close" button.
thanks for your time,
Jared and April
Flash Form In Html Website
hey my brilliant peeps.
If my site is html and I just wanted to add a flash component to it that is a contact form, is that possible and if so is it relatively simple to accomplish? I'm going to go ahead and see if it works, but I haven't really tried forms in flash, so I don't want to get myself in too deep.
I have horrible luck with php methods and such for forms and I'm not about to get into something that will confuse me anymore.
lol
thanks
SD
Running Flash Website Form A DVD
Hi Guys
I have created a website style presentation using flash 8 so that my client can burn it to a CD and hand it out with other marketing material at conventions and such like.
They have now asked me if it is possible to burn it to a DVD so that their potential clients can run it form their DVD payer as opposed to their computers.
Is this possible? What other software would I need to be able to do this?
I know this is a bit of an odd question but I have been googling with out much luck so far.
Thanking you in advance.
First Flash Website - Not Working As Should
so I have a few questions about flash in general. I have managed to integrate PHP/MySQL with a file that is NOT in my website movie, however, if i try to do the exact same thing within my website movie, it doesn't work? What did I do wrong? My friend said I may have messed up some setting somewhere.
Next problem... I wanted to use the Preloader component for loading my images. So I set it up like this:
frame 1 = preloader
frame 2 = image
Now this worked great when i tested it in a seperate file. only for the source I put "_root". My picture name is "small_pic1" and that is what I had in the source box. Now I also tried this.small_pic1 but that prevailed same unwanted results. What am I supposed to use in this source field?
Now here's what I really cannot understand. I have movie clips for a navigation bar. I then assign simple action scripting to them to make them links like so:
on (release) {
this._parent.gotoAndPlay("page_name");
}
I did this after making the appropriate labels. This works for the majority of the time, where as using the frame #'s did not. However, let's say I go to "homepage" and I click on the "homepage" link again, it goes to the next page.. or frame 2 ("homepage" is frame 1). Why would it do that? Should I maybe spread it out over the timeline a little? If I go to the 3rd frame and click on the 3rd frame link again, it reloads the entire movie too. This is very peculair. (Each fame has a stop(); action attached to it)
I am sure I did something stupid, but the question is does anyone know what this is? Hopefully all that was understandable too
Flash Video Not Working On Website
I created a Flash flv file and imported onto a web page. When I tested it locally it worked fine but when I uploaded it to my server the video was missing, as was the skin. Any ideas?
Flash Website Costing - Working Out Your Worth
I guess this is a pretty broad topic, but I'm just wondering what people charge for what these days for Flash websites. I'm battling ethical issues in working out my own worth for future freelance jobs; what to charge?!
I was speaking to a designer who built the website for Australian band Cog (http://www.cog.com.au/) and he told me he charged around $2000 AUS (~$1500 US).
What are people's opinions on the matter?
Any links and prices would be cool to see
Xml Driven Flash Website Not Working When I Changed Publish Settings Please Help
Hello, I have Xml Flash website but it is done in FlashMx with a Publish settings of Actionscript 1.0 and Flash Player 6 . Now I have a flv player component I want to embedd it inside my xml flash project, It says you need a higher publish settings to enable that flv component. ok fine Now i have changed the Publish settings to Flash Player 8 . When I run the movie Flv component is working but the xml flash website has been disappeared only blankscreen . I want to know the reason for this how to solve this issue. Is there any related threads posted here please post it here Urgent help
Flash 4 Form Isn't Working - Why Not?
This may be a script problem but I don't think it is. I am using a predetermined script via earthlink. If I create a form using html then I get forwarded to my necessary webpage and I receive the proper email. If I create the form in flash, then the best I get is a forward to the thank you webpage but I do not get the email.
Here the link to the html source that works:
http://www.nextstepnet.com/Crossroads/Survey.htm
Here is the simple code in flash 4 that will not work:
On (Release)
Set Variable: "RECIPIENT" = "jblausey@earthlink.net"
Set Variable: "THANKURL" = "http://www.nextstepnet.com"
Get URL ("http://www.nextstepnet.com/cgi-bin/mailto", vars=POST)
End On
I have also attempt to use Matt's Script but the best get is a 404
Any help will be greatly appreciated
My Flash Form Is Not Working
Hi all,
I've been trying to make a registration form using flash. The details are mailed to an email account. but the php file doesn't seem to run
The form has text boxes, few radio buttons and dropdowns which I assigned to variables. Maybe the variable arent loading properly..I dont know
I read in a tutorial that you have to use loadVariablesNum.
loadVariablesNum ("submit2.php", "0", "Post");
Am I doing something wrong?
Please help I really want this to work
Thanks!!!
Regards
Sampy
Flash Form Not Working
hi,
I've designed a user enquiry form in flash. a movieclip (form) contains diff. textfields of the form. and code for submit button is
form.loadVariablesNum("email.asp", 0, "POST");
The ASP file contains foll. code
<%@ Language=VBScript %>
<html>
<head>
<title>email.asp</title>
</head>
<body>
<%
mname=Request("name")
org=Request("comp")
email=Request("mail")
phone=Request("phone")
web=Request("web")
address=Request("adr1")
city=Request("city")
country=Request("country")
code=Request("zip")
req=Request("message")
dim myMail
Set myMail=CreateObject("CDO.Message")
myMail.Subject="User Enquiry"
myMail.From="as@er.com"
myMail.To="info@sribhumiimpex.com"
myMail.HTMLBody ="new message"
myMail.Send
set myMail = Nothing
dim Mail
Set Mail=CreateObject("CDO.Message")
Mail.Subject="Auto Reply"
Mail.From="info@sribhumiimpex.com"
Mail.To="as@er.com"
Mail.HTMLBody = "Thank you very much for your interest. We will get back to you shortly."
Mail.Send
set Mail = Nothing
%>
</body>
</html>
But the above code is not working fine.
Can anyone help me to solve this. this is quiet urgent.
Regards
Jyothi
Flash Form Not Working: Help
I have spent days on this and troubleshooting to get a form to work. Grrrrr. I have no troubles in HTML. So please some help fellas would be awesome. My server has PHP and it is in the right place, also uploaded in ASCII and 755.
I have my form in a movie clip called form. And gave each text object it's variable name in the form clip.
My submit button has;
------------------------
on (release) {
form.loadVariables("cgi-bin/mail2.php","POST");
}
------------------------
my form movie clip has this;
------------------------
onClipEvent(data){
_root.nextFrame();
}
------------------------
Now for like the 4th PHP script I have tried;
------------------------
<?php
//Checks if an email pattern is okay
function emailOK($str) {
if(empty($str)) return false;
if(!ereg("@",$str)) return false;
if(!ereg(".",$str)) return false;
list($user, $host) = explode("@", $str);
if((empty($user)) || (empty($host))) return false;
$badChars = "[ ]+| |+|=|[|]|{|}|`|(|)|,|;|:|!|<|>|%|*|/|'|"|~|?|#|\$|\&|\^|www[.]";
return !eregi($badChars, $str);
}//End Function
function readTextFile($file){
if(!($fp=@fopen($file,"r"))) return false;
$fileContent="";
while (!feof($fp)) {
$fileContent.= fgets($fp, 1024);
}//End while loop
if(!fclose($fp)) return false;
return($fileContent);
}//End function
function sendMsg($to, $toEmail, $sub, $msg, $from, $fromEmail) {
//Compose headers for plain text email
$headers = "MIME-Version: 1.0
";
$headers .= "Content-type: text/plain; charset=iso-8859-1
";
$headers .= "X-Mailer: PHP/".phpversion()."
"; //The mailer name
$headers .= "From: ".$from."<".$fromEmail.">
";
$headers .= "Reply-to: ".$from."<".$fromEmail.">
";
$recipient = empty($to) ? $toEmail : $to."<".$toEmail.">";
return mail($recipient, $sub, $msg, $headers);
}//End function
function cleanUpData($data){
$data=trim($data);
if(get_magic_quotes_gpc()){
$data=stripslashes($data);
}//End if
return($data);
}//End function
function flashEmail($postVars){
$name = cleanUpData(urldecode($postVars["name"]));
$address = cleanUpData(urldecode($postVars["address"]));
$phone = cleanUpData(urldecode($postVars["phone"]));
$email = cleanUpData(urldecode($postVars["email"]));
$message = cleanUpData(urldecode($postVars["message"]));
/*ERROR CHECKING*/
if (empty($email)) {
$status = "Email is empty!
Cannot send message";
die("status=".urlencode($status)."&sent=0&");
}//End if
if (!emailOK($email)) {
$status = "Email is invalid!
Cannot send message";
die("status=".urlencode($status)."&sent=0&");
}//End if
if (empty($message)) {
$status = "Message is empty!
Cannot send an empty message";
die("status=".urlencode($status)."&sent=0&");
}//end if
/*###########################*/
$message = str_replace("
", "
", $message);
$subject = "Contact Form";
$ourName = "name";
$ourEmail = "jared@yahoo.com";
$toSenderMsg = readTextFile("senderThanks.txt");
$toSenderMsg = str_replace("{greetings}", empty($name) ? "Hello" : "Dear ".$name.",", $toSenderMsg);
$toSenderMsg = str_replace("{date}", date("m/d/Y"), $toSenderMsg);
$toSenderMsg = str_replace("{message}", $message, $toSenderMsg);
$ourVersion = readTextFile("websiteMail.txt");
$ourVersion = str_replace("{greetings}", "Hi,", $ourVersion);
$ourVersion = str_replace("{date}", date("m/d/Y"), $ourVersion);
$ourVersion = str_replace("{name}", empty($name) ? "none" : $name, $ourVersion);
$ourVersion = str_replace("{email}", $email, $ourVersion);
$ourVersion = str_replace("{message}", $message, $ourVersion);
$tTasks = 2;
$tDone = 0;
if (sendMsg($name, $email, $subject, $toSenderMsg, $ourName, $ourEmail)) $tDone++;
if (sendMsg($ourName, $ourEmail, $subject, $ourVersion, empty($name) ? $email : $name, $email)) $tDone++;
if ($tDone == $tTasks) {
$status = "Message Sent!
Thank you";
print "status=".urlencode($status)."&sent=1&";
return true;
} else {
$status = "Could not send message because of an internal server error
Please try again";
die("status=".urlencode($status)."&sent=0&");
}//End if
}//End function
flashEmail($HTTP_POST_VARS);
?>
---------------------------------
Flash/php Form Not Working
Hi, this is another problem with flash - php form. The problem is that the flash is comunicating with the php but for some reason I am receiving an email empty - without any information put on the inout text.
I have already search all around and tried all i have could but it still doesn´t work.
here is the code i am using in the first frame
ActionScript Code:
function enviar() {
enviar = new LoadVars();
enviar.email = email;
enviar.comments = comments;
enviar.onLoad = function(success) {
gotoAndStop("send");
};
enviar.sendAndLoad("http://www.comodynes.es/php/mail.php", enviar, "POST");
}
then in the "send" button:
ActionScript Code:
on (release) {
if (comments ne "" and email ne "") {
e = "0";
snabelatjek = 0;
while (Number(e)<=Number(length(email))) {
if (substring(email, e, 1) eq "@") {
snabelatjek = 1;
}
e = Number(e)+1;
}
if (Number(snabelatjek) == 0) {
gotoAndStop("error");
} else {
e = "";
snabelatjek = "";
gotoAndStop("sending");
enviar();
}
} else {
gotoAndStop("error");
}
}
and the php:
PHP Code:
<?php
$MailTo="email@domain.com";
$dia=date("m.d.Y");
$hora=date("H:i:s");
$contenido="
Email desde www.comodynes.es.
El Mensaje se Envio el $dia a las $hora:
----------------------------------------------------------------------------
E-mail: $email
Mensage: $comments
----------------------------------------------------------------------------
";
$cabecera ="From: $email
";
mail($MailTo, $subject, $contenido, $cabecera);
?>
so what is wrong???? please help....
btw, if you want to see more www.comodynes.es
thanks
Flash Form Not Working
I am desperately trying to get a Flash form to function. It seems that all the AS is correct and it should work, but it is not. When uploaded to the server, I am getting a "Forbidden" error message. The host cannot figure out why. They say it may be the actionscript, but it looks like it is correct. Can someone please take a peek?
http://www.creirealestate.com/form2.html
http://www.creirealestate.com/form2.zip - fla file
Here is the main actionscript on the timeline...
ActionScript Code:
stop();
function sendForm () {
my_luv = new LoadVars ();
my_luv.name = _parent.name_txt.text;
my_luv.email = _parent.email_txt.text;
my_luv.message = _parent.message_txt.text;
my_luv.email_id = "pixxels@comcast.net";
my_luv.subject = "CREI Website Inquiry";
my_luv.send ("http://www.fatcow.com/scripts/formemail.bml", "POST");
nextFrame();
}
submit.onRelease = function () {
if (name_txt.text == "" || email_txt.text == "" || message_txt.text == "") {
status_txt.text = "Please complete the entire form ...";
} else {
status_txt.text = "";
sendForm ();
}
}
Here is what my host needs to process a form in HTML:
<form method=”post” action=http://www.fatcow.com/scripts/formemail.bml>
<input type=”hidden” name=”my_email” value=”pixxels@comcast.net”>
<input type=”text” name=”name”>
<input type=”text” name=”email”>
<input type=”text” name=”message”>
<input type=”hidden” name=”subject” value=”CREI Website Inquiry”>
This is working in HTML - sample here...http://www.creirealestate.com/form.html
The host's instructions were initially to use hidden variable name="my_email", then they suggested using name="email_id". Neither work in the Flash file.
And yes, I am trying to utilize the host's CGI email form script - only way I can do it right now. And I need to use this type of form for 3 websites, not just one, so I am really hoping someone knows if I am doing something wrong.
Thank you for looking!!
Flash Form Isn't Working
Basically i have a flash site and the contacts form isn't in the main scene, its in a movie clip. However i have entered the action script code in properly but for some reason the send and reset buttons dont seem to have any effect on the form, its like that there are no actions taking place. I have checked all of the variables and names and they are all correct.
Flash Form Not Working
Hello guys, I have a flash form that I did not create it but is not working either, the original flash form works, but I added several more fields and several ComboBoxes and does not work. Here is the php file:
PHP Code:
<?php /////////////////////////////////////////////////////////////////////////////////// Build the message in HTML - Remember to escape the necessary // Message to User$message = "<html>"; $message .= " <HEAD> <link rel="stylesheet" type="text/css" href="http://www.zajacfirm.com/css/myStyles.css"> </HEAD> <BODY>";$message .= "<br><br>";$message .= "<p class="emailtext">Thank you for your submission. This information has just been sent to the email addresses of Eric Zajac, his paralegal, and to his legal assistant. Please call the office (toll free 888 575 7615) to confirm your submission. You may also call Eric's cell phone, 215 519 8883. The prospective client will be reached as soon as possible, and we will report back to you promptly.</p>";$message .= "<a href="http://www.zajacfirm.com" target="_blank"><img src="http://www.zajacfirm.com/images/zajac_logo.jpg" alt="ZajacFirm.com" width="225" height="59" border="0"></a>";$message .= "<div class="emailcontactinfo">1818 Market St., 30th Flr.<br>Philadelphia, PA 19103<br>Telephone: (215) 575-7614<br>Facsimile: (215) 575-7640<br><a class="emaillink" href="http://www.zajacfirm.com">http://www.zajacfirm.com</a></div><br><br>"; $message .= "</body></html>";///////////////////////////////////////////////////////// Message to Client$content = "<html>";$content .= " <HEAD> <link rel="stylesheet" type="text/css" href="http://www.zajacfirm.com/css/myStyles.css"> </HEAD> <BODY>";$content .= "<br><br>";$content .= "<p class="emailTitleName">The Zajac & Arias Law Firm</p>";$content .= "<hr>";$content .= "<p class="emailtext"><strong>Claimant Contact Information:</strong></p>";$content .= "<p class="emailtext"><strong>Name:</strong> $name</p>";$content .= "<p class="emailtext"><strong>Cell:</strong> $cell</p>";$content .= "<p class="emailtext"><strong>Home Phone:</strong> $home2</p>";$content .= "<p class="emailtext"><strong>Home Address:</strong> $address</p>";$content .= "<p class="emailtext"><strong>City:</strong> $city</p>";$content .= "<p class="emailtext"><strong>State:</strong> $state2</p>";$content .= "<p class="emailtext"><strong>Zip Code:</strong> $zip</p>";$content .= "<hr>";$content .= "<p class="emailtext"><strong>Claimant Incident Information:</strong></p>";$content .= "<p class="emailtext"><strong>Currently represented:</strong> $represented</p>";$content .= "<p class="emailtext"><strong>Type of Case:</strong> $pulldown</p>";$content .= "<p class="emailtext"><strong>Date:</strong> $date2</p>";$content .= "<p class="emailtext"><strong>Time:</strong> $time2</p>";$content .= "<p class="emailtext"><strong>Location:</strong> $location2</p>";$content .= "<p class="emailtext"><strong>Discription of Incident:</strong> $incident</p>";$content .= "<p class="emailtext"><strong>Additional Comments:</strong> $comments2</p>";$content .= "<p class="emailtext"><strong>Medical Records:</strong> $medical</p>";$content .= "<p class="emailtext"><strong>Police Report:</strong> $police</p>";$content .= "<p class="emailtext"><strong>Uninsured Motorist Insurance:</strong> $motorista</p>";$content .= "<p class="emailtext"><strong>Emergency Room:</strong> $emergency</p>";$content .= "<p class="emailtext"><strong>Ambulance:</strong> $ambulance</p>";$content .= "<p class="emailtext"><strong>Source:</strong> $source2</p>";$content .= "<hr>";////////////////////////////////////////////////////////////////////////////////////$response = "check";$m_blank = false;// I checked the required fields in PHP because it has some nice features like eregi more info: www.php.netif ( $length = strlen($comments2)<1 and $m_blank == false ){ $response = 'Additional Comments required'; $m_blank = true;}if ($response == "check") { $response = "Thanks"; // thus the flash movie advances to the thank you screen error_reporting(E_ALL); include('email/htmlMimeMail.php'); $mail = new htmlMimeMail(); $text = $mail->getFile('email/example.txt'); $mail->setHtml($message, $text, './'); $mail->setFrom('The Zajac Law Firm <eric@zajacfirm.com>'); $mail->setSubject('Legal Inquiry'); $result = $mail->send(array($email)); ///////////////////////////////////////////////////////////////// $mail = new htmlMimeMail(); $text = $mail->getFile('email/example.txt'); $mail->setHtml($content, $text, './'); $mail->setFrom('The Zajac Law Firm <eric@zajacfirm.com>'); $mail->setSubject('The Zajac Law Firm Contact Us Information'); $result = $mail->send(array($email, $email2));}echo ("&results=$response"); // send feedback to the flash movie?>
and here is the Flash fla:
http://www.john-designs.com/form_component.zip
I can't find the error that I have with this form, please help me out guys, I will appreciate it.
Php Posted End Of A Flash Form Not Working.
having problems with my flash form. this is the actionscript that is inside a button.
code: on (release) {
if (!business_txt.text.length) {
status.text = "Please enter your Industry";
} else if (!firstname_txt.text.length) {
status.text = "Please Enter your firstname";
} else if (!lastname_txt.text.length) {
status.text = "Please Enter your lastname";
}
else if (!template.text.length) {
status.text = "Please Select your Template";
}else if (!email_txt.text.length || email_txt.text.indexOf("@") == -1 || email_txt.text.indexOf(".") == -1) {
status.text = "Please enter a valid E-mail address";
} else {
myData = new LoadVars();
client.id = +_level0.recorde_id1;
myData.business = business_txt.text;
myData.lastname = lastname_txt.text;
myData.firstname = firstname_txt.text;
myData.email = email_txt.text;
myData.template = template.text;
// if (!myData.business.length) {
// status.text = "Please enter your Industry";
// } else if (!myData.firstname.length) {
// status.text = "Please Enter your firstname";
// } else if (!myData.lastname.length) {
// status.text = "Please Enter your lastname";
// } else if (!myData.email.length || myData.email.indexOf("@") == -1 || myData.email.indexOf(".") == -1) {
// status.text = "Please enter a valid E-mail address";
// } else {
// myData.phone = phone_txt.text;
// myData.fax = fax_txt.text;
// myData.mobile = mobile_txt.text;
// myData.city = city_txt.text;
// myData.postcode = postcode_txt.text;
// myData.state = state_txt.text;
// myData.website = website_txt.text;
// myData.address = address_txt.text;
replyData = new LoadVars();
myData.sendAndLoad("http://www.nuvo.biz/nuvo_marketing/send_mail.php", replyData, "POST");
// getURL("http://www.nuvo.biz/nuvo_marketing/client_save.php?firstname="+firstname_txt.text+"&l astname="+lastname_txt.text+"&business="+business_ txt.text+"&email="+email_txt.text+"&phone="+phone_ txt.text+"&fax="+fax_txt.text+"&mobile="+mobile_tx t.text+"&address="+address_txt.text+"&city="+city_ txt.text+"&postcode="+postcode_txt.text+"&state="+ state_txt.text+"&website="+website_txt.text);
// getURL("http://www.nuvo.biz/nuvo_marketing/client_save.php?firstname="+firstname="+firstname_ txt.text+"&lastname="+lastname_txt.text+"&business ="+business_txt.text+"&email="+email_txt.text+"&ph one="+phone_txt.text+"&fax="+fax_txt.text+"&mobile ="+mobile_txt.text+"&address="+address_txt.text+"& city="+city_txt.text+"&postcode="+postcode_txt.tex t+"&state="+state_txt.text+"&website="+website_txt .text,"_blank");
// php
// myData.sendAndLoad("insert.asp", myData, "POST") //asp
// myData.sendAndLoad("insert.cfm", myData, "POST") //cf
replyData.onLoad = function(success) {
if (success) {
if (this.writing == "Ok") {
//gotoAndPlay(6);
status.text = "Data Stored Successfully";
} else if (this.writing == "Error") {
status.text = "Mail server Error";
}
} else {
//gotoAndPlay(6);
status.text = "Script error";
}
};
play();
}
}
that part seems to work fine. but when i post it to my php script here.
PHP Code:
<?
$db_username="username";
$db_password="password";
$db_name="dbname";
$connection = mysql_connect("server","$db_username","$db_password") or die('Could not connect to the database server');
$db = mysql_select_db("$db_name", $connection) or die ("Unable to select database.");
$sql = "INSERT into email_marketing_stats (client_id, template, date_sent) values ($client_id, '$template', '$tday')";
$tday = date("Y-m-j H:i:s");
$firstname = $_POST['firstname'];
$business = $_POST['business'];
$lastname = $_POST['lastname'];
//$email = $_POST['email'];
$template = $_POST['template'];
$client_id = $_POST['id'];
$result = mysql_query($sql,$connection) or die ("Could not connect to database");
$email = "apalmer@nuvo.biz";
$from = "referral@nuvo.biz";
$subject="Nuvo Marketing";
$headers = "Content-type: text/html; charset=iso-8859-1
";
$headers .= "From:".$from."
";
include("email_templates/".$template.".php");
$mail = mail($email,$subject,$mail_body, $headers);
if($mail == 1) echo "writing=Ok&";
else echo "writing=Error";
?>
it dosent work, nothing gets inserted in the database and no email gets sent back. if i remove the insert part of the script it works, i get a email.. but i need it to insert stuff into the datbase.
PHP Code:
<?
$firstname = $_POST['firstname'];
$business = $_POST['business'];
$lastname = $_POST['lastname'];
$template = $_POST['template'];
$email = "apalmer@nuvo.biz";
$from = "referral@nuvo.biz";
$subject="Nuvo Marketing";
$headers = "Content-type: text/html; charset=iso-8859-1
";
$headers .= "From:".$from."
";
include("email_templates/".$template.".php");
$mail = mail($email,$subject,$mail_body, $headers);
if($mail == 1) echo "writing=Ok&";
else echo "writing=Error";
?>
please help
Flash MX EMail Form In PHP Help...(not Working)
I'm using an email form that i downloaded from Flashkit ( http://www.flashkit.com/movies/Inter...8880/index.php ). I changed the design of it to fit my page ( http://64.207.169.241/dev/resume2.htm ). I made the simple changes to the 'mailform.php' according to the directions included in the zip. :
$adminaddress = "you@yoursite.com";
$siteaddress ="http://www.yoursite.com";
$sitename = "Your Site Name";
i've triple-checked all of my work and have not been able to make the form work. can anyone give me some advice to troubleshoot this?
You can download both files in this zip:
http://64.207.169.241/dev/EmailForm.zip
thanx,
skinnybonez
ps. any comments on the design?
Flash Form Submission Not Working...
I have a movie clip on the main (_root instance name "main_sp") part of the time line which holds another clip for my form (used this example: http://www.webthang.co.uk/tuts/tuts_...x4/gfmx4_1.asp)
this is the code on the button: i only use one line to test and comment out the remaining..it is not being tested locally it is up on the server....
on (release) {
_root.main_sp.appointment.loadVariablesNum("basic_ mail.asp", "", "POST");
main_sp.appointment.loadVariablesNum("basic_mail.a sp", "", "POST");
appointment.loadVariablesNum("basic_mail.asp", "", "POST");
_parent.loadVariablesNum("basic_mail.asp", "", "POST");
_parent._parent.loadVariablesNum("basic_mail.asp", "", "POST");
_parent._parent._parent.loadVariablesNum("basic_ma il.asp", "", "POST");
loadVariablesNum("basic_mail.asp", "", "POST");
nextFrame();
}
i do not understand why the form works on the main part of the time line but not when it move it into a movieclip...
please help advise me to what my be the problem...
Flash Email Form Not Working?
hey everyone how are we all
ok, ive made this email form in flash using a tutorial on a site i found.
but for some reason its not working ive done everything like it told me to and im pretty damn sure ive done it right but for some reason its not working and its really annoying me.
So if someone has some time to just have a look at wat ive done and if ive done it wrong it would be great. Should take more than 5mins
heres the files ive used in a .rar file:
http://www.junit.lookingat.us/email form.rar
Thank you very very much
[CS3] Flash Email Form Not Working Please Help
Hi All
I have been spending the last few days trying to work out how to validate my form, I have now figured this out by following a tutorial, and starting the form from scratch, indoing this my php file doesnt work now, well I am not getting any email sent to me when testing the form.
I have attached the PHP and fla and would greatly appreciate any help.
I was also wondering how do I go about sending the state of the check box on the form as well?
Thanks in advance.
Cheers
Chris
Flash + PHP Contact Form = Not Working
Hi all,
Again, it seems like another one of the PHP contact form queries - I've searched as far and wide as I can see, and no one seems to have had the same problem. Basically, when the flash site loads, and you access the contact form, enter your information and click submit - Now when you submit the form, another window opens with the PHP coding inside it, instead of the usual thankyou form, so the form itself isn't actually being submitted.
I have NO idea whats causing it - will post the coding below - please if you could help, it would be fantastic - as im at a loss with it now.
Quote:
rec.text="info@madjare.com";
serv.text="php";
field_1.text="field_1 description";
field_2.text="field_2 description";
field_3.text="field_3 description";
field_4.text="field_4 description";
field_5.text="field_5 description";
field_6.text="field_6 description";
field_7.text="field_7 description";
function reset_txt(name,name2,value) {
path=eval(_target);
path[name2]=value;
this[name].onSetFocus=function() {
path=eval(_target);
if(path[name2]==value) { path[name2]="";}
}
this[name].onKillFocus=function() {
path=eval(_target);
if(path[name2]=="") { path[name2]=value;}
}
}
reset_txt("t1","your_name", "YOUR NAME");
reset_txt("t2","your_email","E-MAIL");
reset_txt("t4","message","MESSAGE");
reset_txt("t3","field_1","PHONE");
reset_txt("t5","field_2","E-mail:");
Thats what appears in my flash movie
PHP Code:
<?
Print_r ($_REQUEST);
Error_Reporting(E_ALL & ~E_NOTICE);
$subject="from".$_REQUEST['your_name'];
$headers= "From:".$_REQUEST['your_email']."
";
$headers.='Content-type: text/html; charset=iso-8859-1';
$i=1;
$message='';
while ($_REQUEST['field_'.$i.'_descr']) {
$message.="<strong>".$_REQUEST['field_'.$i.'_descr']."</strong> ".$_REQUEST['field_'.$i]."<br>";
$i++;
}
$message.="<br>".$_REQUEST['message']."<br><br>";
mail($_REQUEST['recipient'], $subject, "
<html>
<head>
<title>Contact letter</title>
</head>
<body>
<br>
".$message."
</body>
</html>" , $headers);
echo ("Your message was successfully sent!");
?>
<script>
resizeTo(300, 300);
// window.close()
</script>
My PHP contact form, and as follows the ASP form
Quote:
<%
for i=1 to 7
message=message + "<strong>"&Request("field_"&i&"_descr")&"</strong> "&Request("field_"&i)&"<b r>"
next
message=message + Request("message")
smtpServer = "enter your SMTP SERVER HERE"
smtpPort = 25
name = Request("your_name")
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "from " & name
myMail.From = Request("your_email")
myMail.To = Request("recipient")
myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
myMail.Configuration.Fields.Update
myMail.Send
%>
Literally, all the information above is live code, and I haven't changed - It may be glaringly obvious for some of you guys, whereas I'm just winging it!
Screenshot below, is what I get after pressing the submit button.
http://www.forestfrogdesign.com/screenie.jpg
Flash / PHP Email Form Not Working
Hi,
I have followed the php flash tutorial here. It works locally on my computer but when I upload it to my site it doesn't work. My host does support php and the problem may lie in the onClipEvent(data) function because that isn't firing off but the other error checking i put does. I included the php file but the .fla is already pointing to the one on my site.
Thanks for the help
fla and php file
Flash + Php Form Working But One Problem ...
ok .. i've got the flash + php form working (as described
in the kirupa tutorial) .. email works!
however, instead of a two frame scene where the form is
on frame 1 and the feedback is on frame 2, i would like
to have a one frame scene and simply display a new
movie clip after the form has been submitted.
the problem:
1. the browser keeps saying 'transferring data from
domain.com' even after the email has been sent.
2. in the onClipEvent routine for the 'form' movieclip, i
am setting the visibility of another movieclip to 1, but
it doesn't seem to work. a trace command confirms
that the onClipEvent routine is getting called, but
I'm not sure why functions or commands don't work.
Flash Email Form - Almost Working?
Hi there, this is my first post here so thanks very much in advance.
I have created a Flash Email Form (based on the Kirupa tutorial) and it works absolutely fine when it is run by itself (contact.swf), the "Submit" button works fine and i get the email.
However whenever I try and run the Email Form from within my site i.e. loadMovie (contact.swf) into another movie the "Submit" button is totally dead. The "Clear" button always works, so i presume it is an issue with the actionscript on the Submit button: form.loadVariables("email.php", "POST");
I have also added: this._lockroot = true; to the 1st frame of the "contact.swf" file which i thought would make sure it is the root movie?
I'd love to hear how to resolve this as it's driving me nuts!!!!
cheers.
Flash Form Stopped Working
Flash Form stopped working and i cant figure it out, i could really use a hand
heres the flash with the php
http://www.kobalt7.com/alan_video/whitepaper2.zip
Why Senocular Flash Form Is Not Working? Pls Help
Hi,
I want to include a flash contact form in my website, so I followed senocular's tutorial (http://www.kirupa.com/developer/acti..._php_email.htm). Before I start to redesign it, I tested it out first to make sure it works, by creating an account in freehostia. I made an html and uploaded the source files with the html. The only details I changed from the source files is in the email.php source file --- [IMG]file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg[/IMG]$sendTo = "my email address"; And then I open the url in freehostia, I saw the form and I tried it out. But when I checked my destination yahoo email add, the mail I supposedly sent isn't there. Pls pls help, thanks!!!
P.S. If this is helpful--This is how senocular's email.php file looks like
<?php
$sendTo = "iputmyyahooemailaddhere";
$subject = "My Flash site reply";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
Flash With A Password Form Isn't Working
I setup a quick password entry screen using flash, which i'm pretty new to, and it doesn't seem to be working correctly.
Here's my scripting..
PHP Code:
on (release) {
if (pass eq "dr0wssap") {
gotoAndStop(2);
} else {
gotoAndStop(3);
}
}
The password box's name is "pass". No matter what someone puts in the box, it goes to the same frame. in this case, frame 3. Not sure what I'm doing wrong.
Any help would be great.
Thanks in advance
Flash Mail Form Not Working When Uploaded
I am having problems with a simple contact form, (can be seen at http://www.annis-domestics.co.uk/willit.html
When I run it when it's stored localy on my C drive it works fine, sends the mail through my hosts CGI and I get it in my inbox, but if I run it from the web it just hangs. can anyone help.
Also, i'm using a free web host that is good apart from I have to use thier own formmail.cgi script which I can't edit. I also can't run any other scripts apart from the formmail one.
Any help would be great thanks
Flash Form Not Working Inside A Movieclip
Hi guys this is my first post!
I created a flash form which collected data and sent it to an asp file which inturn sent it to me as an email. (for my website).
The form worked fine, as a standalone swf file, BUT now its not working since i did this:
instead of running it as a standalone file, im now trying to run it inside a main, bigger swf file, as a movieclip.Its running inside a movieclip called 'Movieclipcontainer.' And as a result its no longer working!
I havent changed my actionscript, and im thinking I probably need to! but i dont know what changes need to be made.
Here is the actionscript on the form:
onClipEvent(data){
// show welcome screen
gotoAndPlay("brochure", 46);
}
and here is the script on the send button:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("brochure.asp", "POST");
}
Any tips/help is much needed and appreciated!
Finally i dont know if its a dynamci/input text iusse maybe?
Thanks guys
Geraint
This Isn't Working: Flash-Based Email Form Using PHP
Some people asked for help on this topic before me, but no one seems to answer.
The form works but it doesn't display the content of the form.
I use this php script with html on my server and I don't get any problems, so I don't think it's the server..
Flash And PHP Mail Form Isnt Working?
I followed this tutorial, almost exactly : http://www.kirupa.com/developer/acti..._php_email.htm
The only thing I changed was the look of the form.
For some reason, I can make it say "Thanks for the message" but the message never actually makes it to my e-mail address (I have checked to make sure the e-mail address is right, several times.)
Can anyone think of any reasons that *could* affect this?
Thanks for any help !
My site : www.evolewtion.co.uk
Click contact to view the page that isnt quite working..
Flash Form Not Working Inside A Movieclip
Hi guys this is my first post!
I created a flash form which collected data and sent it to an asp file which inturn sent it to me as an email. (for my website).
The form worked fine, as a standalone swf file, BUT now its not working since i did this:
instead of running it as a standalone file, im now trying to run it inside a main, bigger swf file, as a movieclip.Its running inside a movieclip called 'Movieclipcontainer.' And as a result its no longer working!
I havent changed my actionscript, and im thinking I probably need to! but i dont know what changes need to be made.
Here is the actionscript on the form:
onClipEvent(data){
// show welcome screen
gotoAndPlay("brochure", 46);
}
and here is the script on the send button:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("brochure.asp", "POST");
}
Any tips/help is much needed and appreciated!
Finally i dont know if its a dynamci/input text iusse maybe?
Thanks guys
Geraint
This Isn't Working: Flash-Based Email Form Using PHP
Some people asked for help on this topic before me, but no one seems to answer.
The form works but it doesn't display the content of the form.
I use this php script with html on my server and I don't get any problems, so I don't think it's the server..
Flash And PHP Mail Form Isnt Working?
I followed this tutorial, almost exactly : http://www.kirupa.com/developer/acti..._php_email.htm
The only thing I changed was the look of the form.
For some reason, I can make it say "Thanks for the message" but the message never actually makes it to my e-mail address (I have checked to make sure the e-mail address is right, several times.)
Can anyone think of any reasons that *could* affect this?
Thanks for any help !
My site : www.evolewtion.co.uk
Click contact to view the page that isnt quite working..
Getting A Flash/php Mail Form Working On The Internet...
hi, can someone help me please?
ive made this mail form in flash that supposed to work with php. ive entered all the correct code, like the e-mail address it is supposed to go to. BUT when it comes to uploading on to my website it doesnt seem to work. i manage to ftp ok as a 'php3' with the .swf file etc. but when it comes to clicking on the link it seems to want to download the file and not open it as a page can someone help me please?
thanks alot
tristan
Flash/PHP Form Working, But Get A Weird Formatted Email
Hi, I've used the tutorial from kirupa.com to make a php/flash contact form. It works, I get an email, but it doesn't work exactly as it should. I think it's the php code that's causing a problem, but this is the first time I've used php so I don't really have a clue.
Here's the code I have in the php file....
Code:
<?php
$sendTo = "michael_doyle310@hotmail.com";
$subject = "Portfolio Question";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-Path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
The var names on the 3 textboxes in the swf are "name", "email" and "message". I recive an email with lots of formatting code in it... here is what the email title looks like....
Code:
"<TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Verdana\" SIZE=\"10\" COLOR=\"#000000\" LETTERSPACING=\"0\" KERNING=\"0\">george@hell.com</FONT></P>"</TEXTFORMAT@web90.opentransfer.com>
and here is the email body....
Code:
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10"
COLOR="#000000" LETTERSPACING="0" KERNING="0">This is the message
text</FONT></P></TEXTFORMAT>
I've tried playing around with the php, but i'm too much of a newbie at it to try and figure it out, any advice is much needed!
Flash Mx 2004 - Form Components Working Problem
I am very knew to flash and AS and helped by Kirupas's tutorials I managed to create a form using input text and components. I get the email (via asp mail) with "undefined" in the components' related fields but get the information from the input text ok. Something is wrong with my code which is below. I will also like to know how to reset the DateField, CheckBox and Radio Button
components as this doesn't work either. I will be greatfull if anyone can give me some advice. Thank you!
//Booking From DateField component
function DateFieldDisplay (component) {
from = component.getValue();
trace (From);
}
bookingFrom.setChangeHandler ("DateFieldDisplay");
//Booking Till DateField component
function DateFieldDisplay (component) {
Till = component.getValue();
trace (Till);
}
bookingTill.setChangeHandler ("DateFieldDisplay");
//Number of Adults Combo Box
function comboDisplay (component) {
adults = component.getSelectedItem().label;
}
n_adults.setChangeHandler ("comboDisplay");
//Number of Children Combo Box
function comboDisplay (component) {
children = component.getSelectedItem().label;
}
n_children.setChangeHandler ("comboDisplay");
//Spanish writen/spoken Check box
myCheck = [spanishWriten,spanishSpoken];
function checkDisplay (component) {
var j,s;
for(j in myCheck){
if(myCheck[j].getValue()) s+=myCheck[j].getLabel()+"
";
}
spanish_Lessons = + ((s.length) ? s: "Nothing");
}
for (i=0;i<myCheck.length;i++) {
myCheck[i].setChangeHandler ("checkDisplay");
}
//Spanish Level ComboBox
function comboDisplay (component) {
spanish_Level = component.getSelectedItem().label;
}
spanishLevel.setChangeHandler ("comboDisplay");
//Webdesign software radio buttons
function radioDisplay (component) {
webdesign_Lessons = component.getValue();
}
webdesign.setChangeHandler ("radioDisplay");
//Webdesign Level ComboBox
function comboDisplay (component) {
webdesign_Level = component.getSelectedItem().label;
}
webdesignLevel.setChangeHandler ("comboDisplay");
function onReset() {
fname.text ="";
lname.text ="";
address1.text ="";
address2.text ="";
address3.text ="";
countyTown.text ="";
postcode.text ="";
email.text ="";
message_txt.text = "";
response_txt.text ="";
bookingFrom.setValue(false);
bookingTill.setValue(false);
n_adults.setSelectedIndex(0);
n_children.setSelectedIndex(0);
var j;
for (j in myCheck) {
myCheck[j].setValue(false);
}
spanishLevel.setSelectedIndex(0);
FrontPage.setValue(false);
Dreamweaver.setValue(false);
webdesignLevel.setSelectedIndex(0);
submit_btn.enabled = true;
}
function onSubmit() {
response_txt.text = "Submiting booking order, please wait...";
//Creates new LoadVars instance for the booking data
formData = new LoadVars();
//Gather the booking information into a LoadVars intance
formData.fname = fname.getValue();
formData.lname = lname.getValue();
formData.address1 = address1.getValue();
formData.address2 = address2.getValue();
formData.address3 = address3.getValue();
formData.countyTown = countyTown.getValue();
formData.postcode = postcode.getValue();
formData.email = email.getValue();
formData.message_txt = message_txt.getValue();
formData.bookingFrom = From.getValue();
formData.bookingTill = Till.getValue();
formData.n_adults = adults.getSelectedItem().label;
formData.n_children = children.getSelectedItem().label;
formData.spanishLessons = spanish_lessons.getValue;
formData.spanishLevel = spanish_level.getSelectedItem().label;
formData.webdesign_p = webdesign.getValue;
formData.webdesignLevel = webdesign_Level.getSelectedItem().label;
formData.onLoad = function(success) {
if (success) {
response_txt.text = "Thank you, your booking request has been sent.";
} else {
response_txt.text = "Your booking request could not be sent.";
}
}
formData.sendAndLoad("reservationsmail.asp", formData, "POST");
}
My Digitalosophy Flash Form To Access DB Working Great Except...
I used Digitalosophy's excellent tutorial. Everything is a text input except I used one component, a list box pulldown, which has an instance name. I don't see anywhere in the properties panel where I can give it a variable name, and nothing is being written to that column in the DB
On edit, my bad. I had not entered all the data to be passed to the DB in the data field yet, I only had labels.
Inserting Data To Mysql Database Trough A Flash Form - Combobox Script Not Working
Hi, im trying to build a flash form that pass som data to a mysql server database i´ve been reading some tutorials and i made the actionscript for the submit(=grabar in spanish) button so that it colects data and send it to the server. (i have a form with textfield that is where people enter data, and 2 combobox, one for selecting a person´s name and the other to select a place).
but im having the same record duplicated on the database, but, the first record is complete and the duplicate it´s the same but for the two selections of the 2 combobox that are missing. As a result of running the form an loading data normally i then get on the database 2 records added the are equal but one of them has no combobox data.
I think the problem is definitly the combo box code that i use cos after using it the script worked perfectly maybe someone can help me with it. And also i ´ve found some tutorials for showing a mysql database content with flash but they are really difficult, some of they se PHPObject and others just tones of actionscript code, isn´t an easyier way for doing it??
Here´s the script:
on (release) {
if (apellido =="") {
status = "Debe llenar el apellido del cliente!";
} else if (nombre =="") {
status = "Debe llenar el nombre del cliente!";
} else if (fecha =="") {
status = "Debe llenar la fecha de la entrevista!";
} else if (hora =="") {
status = "Debe llenar la hora de la entrevista!";
} else if (asunto =="") {
status = "Debe llenar el asunto del cliente!";
}else{
userData = new LoadVars();
userData.apellido = apellido;
userData.nombre = nombre;
userData.telefono = telefono;
userData.dni = dni;
userData.fecha = fecha;
userData.hora = hora;
userData.asunto = asunto;
userData.abogado = "";
userData.donde = "";
userData.abogado = abogado_cb.getValue();
userData.donde = donde_cb.getValue();
userData.send("inserta.php", "this", "POST");
getURL("inserta.php","this","POST");
status = "Datos Guardados!";
apellido = "";
nombre = "";
dni = "";
telefono = "";
fecha = "";
hora = "";
asunto = "";
}
}
Thanks.
Emilio
"Contact Us" Form In Flash Website
Hi everyone,
I need to add a contact form to a flash site I am building. How do I make a form field in Flash? Would it be easier to just link to an html page and use a form there and export an image of the flash page as the background or whatever? Any idea are welcome.
Thanks for the input,
Flash Form's "submit" Button Not Working - Does Nothing
Hi everyone, kind of new to flash, so apologize if this is a basic issue.
So I am setting up a new website using a flash template I downloaded and so far able to figure out everything for the most part. The only issue now is that the submit button for the form is not working. When pressed, you see it being pressed, but does nothing to invoke sending the form. The template had a mailto function setup, so I modified the email address, etc in there and that did not work.
So then researching, I found information in using PHP. So I enabled PHP on my web hosting end, created a php script (copied from one of the message boards), and modified the action in flash template to call this php file. Well, atleast I think I did that.
The site is uploaded at www.innovativenetworks.biz
Here is a copy of the PHP script:
<?
// Enter your email address here
$adminaddress = "xxxx@innovativenetworks.biz";
// Enter the address of your website here MUST include http://www.
$siteaddress ="http://www.innovativenetworks.biz";
// Enter your company name or site name here
$sitename = "Innovative Networks";
// Gets the date and time from your server
$date = date("m/d/Y H:i:s");
// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
IF ($action != ""):
mail("$adminaddress","Visitor Comment from YOUR SITE",
Hello there. You have an email from a visitor who filled out the contact form on your website. Please read below:
First Name: $name
Company: $company
Email: $vemail
Phone: $phone
The visitor commented:
------------------------------
$comments
------------------------------
Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress");
//This sends a confirmation to your visitor
mail("$vemail","Thank You for visiting $sitename", "Hi $name,
Thank you for your message to $sitename! We will respond based on your provided information shortly.
Best Regards,
$sitename
$siteaddress","FROM:$adminaddress");
//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Your message has been sucessfully sent!";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo "$send_answer";
ENDIF;
?>
Contact Form Not Working In IE But Working In Mozilla
got a problem that I just can't figure out.
I have a feedback that was working fine. Key word "was".
I added a frame in the form MC to include a Thank You screen. But then it stopped sending in IE, but works in Mozilla.
I tried taking the extra frame out but still doesn't work in IE anymore.
any suggestions?
button
Code:
on (release) {
form.loadVariables("email.php", "POST");
}
script on the php page
Code:
<?php
$sendTo = "alvin@diggy.com.au";
$subject = "Gisler contact";
$headers = "From: " . $_POST["name"] ." <" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"];
$message = "Phone:" . $_POST["phone"] ."
Country: " . $_POST["country"] ."
Message: ".$_POST["message"]." ";
mail($sendTo, $subject, $message, $headers);
?>
Flash Form+php(kirupa Tutorial)/messages Sent By Form Show Strange Characters
Flash form+php(kirupa tutorial)/messages sent by form show strange characters - uncorrect stressing for latin languages
I tested flash + php form (http://www.kirupa.com/developer/act...h_php_email.htm) , and noticed message field does not send messages correctly when words stressing is needed (á à , é , í , ó , ão ) ;
I received strange characters when typed stressed words :
á é i ó u ão à pão cão árvore ;
what has to be changed on the code to allow stressing ??
cheers
Flash Form Question : Sending HTML Form Values...
I'm trying to create a flash form version of an HTML form. It's basically just a voting drop down menu - user chooses "Yes", "no","maybe" from teh drop down and hits a submit buttons which would send the results to a CGI script though POST. I understand the submission aspect, but am not sure how to assign values to the drop down in the same way HTML does:
<option value="yes">
<option value="no>
...
Do I just set the combo box Data array to [yes,no,maybe]? If so, how is it to be sent?
thanks
Pass Variable Form HTML Form To Flash
Hi,
I'm trying to figure out how to send what the user selects from a HTML drop-down menu to the Flash movie.
In this scenario, the user picks an email address from a drop-down list and this is sent to flash as a variable called 'eaddress' which is eventually used in the flash movie to send a message to this address.
Any help is much appreciated!
Glenn
Help: Form Mail (CGI-style Email Form) In Flash
Anyone have a nice .FLA file to share so I can get in and play with the AS?
I need to setup a CGI-style email submission (request info, etc) completely within the MX2004 pro environment--for a client.
I'm not completely fluent in AS2.0, but I can run with changing the fields and calls so long as the sample is not too complex.
Much appreciated.
|