Image Submit
is their a way to make it so you can upload an image and send it to as an email & have a form to give informationm about it. With this form...once you click the 'browse' button and select a file it gives you a preview of the file. I've been looking on how to do this with html, php, javascript, and now with flash. Thanks
FlashKit > Flash Help > Flash General Help
Posted on: 10-02-2005, 04:33 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Can A Submit Button Submit 2 Different Forms?
Can a sumbit button submint 2 emils with different info on one click?
say one set of information to the user 1 containing data A
and one set of information to user 2 containing data B
Thanks -
ZG
Submit Help
Hey, I was wondering if any of you know how to have text feilds sent to an e-mail with a click of a button. If that is not able to be done, how can i have infomation sent to a spot where it is seperated from the accual program. Thanks for the time!
P.S. the fla. is too large to poast
Submit PHP
When I build a sumbit form where do I plug in the PHP, so it's in a database - then routed to my e-mail?
what is the code look like for all that stuff:
-The Actionscript for the submit button.
-The PHP for for the info. or actionsript (not sure)
-form input - click submit - to it ending up in my e-mail
what goes on?
Thanks for your time,
JT
ATL
Submit
Hey, If u wanna find a place to submit yr flash cartoons for publicity go here www.fantasymage.com an awesome flash site. Just send an e-mail to flashadmin@fantasymage.com with yr name and the flash title.
Help With Submit
can someone help me with my flash form submit?
i've tried and search on google but couldn't get it to work for the last 2 days.
i have a link that pops up a survey form with radio buttons and text input but when i hit the submit button nothing happens.
here is my actionscript for the button.
Code:
stop();
submitURL = "http://thecandidgroup.com/ces/mailer.php";
function onSubmit() {
// Create a new LoadVars instance for the form data
formData = new LoadVars();
// Initialize formData variables:
formData.referred = "";
formData.contact = "";
formData.temp = "";
formData.greet = "";
formData.doc = "";
formData.question = "";
formData.refer = "";
formData.surveyor = "";
formData.certificate = "";
// Gather the order information into a LoadVars instance.
formData.referred = referredGroup.getValue();
formData.contact = contactGroup.getValue();
formData.temp = tempGroup.getValue();
formData.greet = greetGroup.getValue();
formData.doc = docGroup.getValue();
formData.question = questionGroup.getValue();
formData.refer = referGroup.getValue();
}
// Create another LoadVars instance to receive the server's reply
replyData = new LoadVars();
// Initialize reply variable.
replyData.reply_referred = "";
replyData.reply_contact = "";
replyData.reply_temp = "";
replyData.reply_greet = "";
replyData.reply_doc = "";
replyData.reply_question = "";
replyData.reply_refer = "";
replyData.reply_comments = "";
replyData.reply_surveyor = "";
replyData.reply_certificate = "";
// Specify a function to call when this new instance receives the reply.
replyData.onLoad = handleReply;
// Submit the order data
formData.sendAndLoad(submitURL, replyData, "post");
// Tell the user what's happening.
message_txt.text = "Submitting survey, please wait...";
function handleReply(success) {
if (success) {
message_txt.text = "Your survey was received:
";
message_txt.text += "referred by: " + replyData.reply_referred + newline;
message_txt.text += "contact: " + replyData.reply_contact + newline;
message_txt.text += "temp: " + replyData.reply_temp;
} else {
message_txt.text = "There was a problem submitting your survey. The server may be down or not responding.";
}
}
Submit Name Button
hi,
i'm trying to add a submit button that should pick up the value of a field (email address) that the user should fill and send it to a url where there's a database to collect these email addresses (the client has provided me with the url that should take care of the adding process); what is the best way to do that? keeping in mind that i don't want to use "get url" and send them to another page once they submit, i want to move to a different frame in the same fla movie.
any help would be very appreciated.
Submit Forms
Greetings,
I was wondering if someone could send me a tutorial or point me in the directions for Flash submit forms. This is like my last hump and I cannot seem to get ahold of. But anything will be appreciated..
Submit Forms
Hi everyone.
Can anyone point me to somewhere where i can learn how to put together a submit form. Unless someone can explain via this message board.
Thanks
Submit | Reset
I can't get my submit and reset FLASH buttons to work when embeded in my PHP form. Here's what I have for the submit button:
on(release){
getURL("handleForm.php","","POST")
}
And this for my reset button:
on(release){
input = ""
textarea = ""
}
But it only send me empty variables everytime. These buttons work when I place them in my Flash form, but not when embeded. Can anyone point me in the right direction??
ASP Submit Form In MX
I have been playing with the ASP submit form which uses MX components from the MM website <a href="http://www.macromedia.com/support/flash/applications/creating_forms/index.html">here</a>. This looks to be exactly what I need, however, I can't find a place, in either the ASP script or the FLA, where I can specify the location (ie. email address) the form data is to be submitted to. The best option for me at this time would be able to get the script to send the form data to an email address. Any help would be greatly appreciated.
This is the ASP script:
[asp]
Dim reply_size, reply_quantity, reply_toppings, returnToFlash
reply_size = Request.Form("size")
reply_quantity = Request.Form("quantity")
reply_toppings = Request.Form("toppings")
returnToFlash = "reply_size=" & Server.URLEncode(reply_size) & "&reply_quantity=" & Server.URLEncode(reply_quantity) & "&reply_toppings=" & Server.URLEncode(reply_toppings)
Response.Write returnToFlash
[/asp]
How To Submit Variables From Swf To Swf?
hi all
i have there a prob with my dynamic flash
i open the movie with index.swf?link=thislink...
so in the first pic is some action script that choose 1 of 3
other movies to load this into the current index.swf...
but in this moment i lost my link variable from the html object tag ...
how i can give this variable from the index.swf to the loaded swf
thanks for help
forgive me my english im german :P
Hit Return To Submit
can someone please tell me how to assign the return button to act as though i've clicked on a submit button?
How To Submit A Form?
Hi,
I have to submit a form that i have created in Flash. But when the form submits, the variables are to be sent to another website, and a page over there which should open.
I created two Input textfields and defined thier variables.
Created a button to submit. On the button i gave :
"
on(press) {
loadVariablesNum ("http://mail.myone.com/starsareus/what.pl","_self","POST");
stop();
}
"
When i press the button, nothing happens! Why not?
How do i do this? Basically i have to send the variables to a remote page on another server. How do i do this?
Thanks,
2Shy
Submit Email
Hi how I submit email
Nothing special just text feild and submit button
so once emailaddress was typed in in textfeild and submit button is pressed it send email to my emailaddress
can anyone upload fla that would be great
Submit Button..
hey, does anyone out there know the answer to this??
how the hell do ya connect a submit button
like this:
name _____________
e-mail ____________
comments____________
____________
___________
Submit
Then all the above info is sent to your e-mail!
I really want this for my personal site does anyone know?
Thanks.
Submit Page
How do I get my submit page to work? i need all the help I can get.
Here is the file and the way I want it to look.
Thanks,
Submit Button
All I want to do is create a submit button with only one input text (email) and I want it to be sent to me via email. Also is there any way of doing this without using php, cgi or asp?
thanks, em
Submit Form With CGI
Hi,
Just to let you know that I gave up using the php form. I am having a hell of a time trying to figure out how to make a good one that would work. I have found this tutorial and used the code in it. However, if I publish my work, the errBox don't seem to appear when I try to submit my form. In fact, nothing happen. The only one think that work is when I clear the data in the form. Here is the link I have been using for my form.
http://www.flashkit.com/tutorials/In...-778/index.php
So, if someone could guide me through the process, I would really appreciate it.
Thanks,
Help (submit Forms) ...:)
hey.. everyone:
I´m a flash user, not a very good one.. but, i like it a lot, anyway i would like to make a mailing list in my site, but i dunno how to make a data base, or a submit form, who could help me with that.
I also would like to know what you people think of my site,
speed-addicction
thx,
Gabriel Lopez.....
SpEeD.............
Submit A Form In .exe
Hi all,
I am creating an .exe file for a CD rom (wedding invitation) with a reply form. However, I am looking for an example or a tutorial on how to submit that form to my email. I have created all the components and given names and allocated them to groups ... and now, what is the actionscript to forward the information to me by email.
Another question is: for the people w/o Internet access, how can I make a button (similar to the Submit) button, that opens the same form ("reply.pdf"), that they can print it and send by post?
Thanks for any indication you may have!
Submit Form
hiya
i need a little help with a submition form
i need to know the complete script needed for the 'submit' button
i realise i asked this question a week ago but i couldnt find it
so please if anyone knows the direct script needed for the submit form it would be greatly appreciated
p.s. ive tried help tutorials but the explanation in all the ones ive tried seems to be in a format my computer doesnt recognise
thank you very much max
Submit Button?
Now what i am doing is there are a lot of items on a list, and then whenever a person is done checking items (they have to check 8) then the person clicks the SUBMIT button and it submits the results to me but it doesnt take them to an email. Just in review, after a person selects items that they want it and they click SUMBIT and it sends a message to my email or something saying what the person chose. Its sort of a poll that only i can get the results of. Is this possible and if so how do i do it. Sorry to be so demanding but i really need help.
Submit Button
I'd love a little help with this order form I am constructing.
The user fills in the fields, which sets variables, 33 of which I'd sent to an email address when the user hits the submit button on frame 3.
I'm sure it's simple, but I have never had to do it before.
I've sttached the .fla, please help.
Submit Information?
So I asked our database guy today about databases, and general things like that. But he's not the best at explaining things. so I'd like to know if you would know the answer and or a place I can go to learn about this question.
When you have input fields in and a submit button. in a flash interface website. what goes on?
- How does the submit button know to input that info. into a database?
-Where do you build the PHP? in the actionscript area?
-As that list grows how can you pull it up to view tha info.
Thanks for your time and help.
Submit Field
How do I make it so people type in a bunch of stuff in multiple input text fields, and when they hit submit it sends me an e-mail including all of the stuff they typed in the input boxes?
Submit Buttons
I made a form using Flash MX 2004. I want the filled out form to be sent to my e-mail address when they hit the submit button. However, I don't understand the script to do that. I've read a lot of posts, but they don't make sense. Does anyone know an easy way to do this? If you could help, I'd greatly appreciate it. thanks
maria-
Please Help Me With Submit Buttons?
Can anybody tell me how to send the information inputed into my form to an e-mail address when the Submit button is clicked. I know that it takes a php script, but I don't know how the script should be set up.
Please Help!!!
Prof.
Submit Buttons
Hi,
I'm trying to create a form in flash that will submit the info they have created, its to a lotus notes database but should work just like a normal form.. I remember in flash4 the action script was point and click but this new MX code is a little beyond me..
Can anyone point me to a tutorial or give me a few pointers?!
Thanks in advance,
Rockstar.
Link Submit
Hey, I know this doesn't really go here, but I'm having issues with Flashkit when clicking Links.
I'd like to add www.FredtheMonkey.com to the set of links under CARTOONS, but when I click "Add a Site" it says I must be logged in. I AM logged in, but I guess it signs me off when I leave the Board area.
Any ideas? I appriciate the help!
Submit Field Using PHP
I have a flash page where I would like to allow the viewer to submit their email address. I've been working on it very unsuccessfully. If someone could take a look at my Fla and PHP file to determine what my problem is I would be eternally grateful (maybe even longer than that).
I would like to attach my Fla file but it's too large. How can I make it smaller? (other than zipping it - it's still 3.2 mg)
Thanks so much.
Submit Form?
wot is the action script 2 submit a form the an email adres?i meen if i hav a field 2 input info and then hav a submit buton...wot code do i need?thanks
Submit Score
Hi!
I need example of submit score in flash.
Something like this.
On web page you`ve made some score by playing game. At the end you need to submit that score in "the best" list. That list should remain somewhere so user can come after a while and see that score.
Thanks!
Submit Form?
hey...long time since iv bin on...hopefully u guys will b as helpful as u wur b4....wel...wot i want 2 do is hav a form...for example a contact form...where there are blank input fields such as: name,email adres etc...i then want at the botum a submit buton...that wil then submit this information to a selected email adres...i can do the inuput boxes...i just need sum1 to help me with the submiting...eg...the actionscript wud b nice or any other help u have...thnxs guys...all hepl much appreciated....(sorry 4 my bad spelling!!!)
peace out...nd hav a gd new year!! (oh yeh...nd hope u all had a nice xmas!)
Submit Form
Hi!
I'm making a website, and i'm trying to create a "contact me"-template, where you write your name, your e-mail-adress etc. and a message. Then you click submit, and it's sent to me somehow
Does anybody know about a code that i can use for this?
I attach the file in case it's hard to understand what i mean.
Any response would be great!
Submit Button
I have this submit button after an application... and I want it so that when they click on the submit button... it says "Thank you for Submitting!" and then afterwards sends the application to a certain e-mail... I have no clue how to make it so the button does that... any help is appreciated....
Submit Buttons
Ok so my boss wants me to help him build a website and he wants something like this www.leifinancial.com where the submit button is or where you put in the info he wants it to submit to his email. Does anyone know how to do this and help me set this up thank you
Highscore: Submit Name Help
At the end of the game I have the option to submit highscore. There is a name input box “player_name” and a score var named “total_score”. The input box and button are in a MC named “post_game” .
When I submit the score with a name made via input I get: _level0.post or undefined and not the name I typed. That’s the problem.
I have tried many methods and this is the last one:
Code:
on (release){
action= "insert";
userName = _parent.post_game.player_name;
myScore = _root.total_score;
loadVariablesNum("addScore.php",1,"POST");
}
I think it has to do something with depths, or flash failing to fetch the name due to me failing. The PHP processing script works fine, in case you would wonder. Using Flash 8.
Any suggestions?
Thanks.
'submit' Form
How do I create a form where visitors can type in an email address and click 'submit' to add their email address to my database to create a mailing list?
Thank you
[F8] Help With Submit Button
I can't figure out why the submit button doesn't work http://www.thetourtown.com, I've tried to fix it and I can't seem to find the problem, I've sent it to 3 friends and they can't figure it out also.
on (rollOver) {
gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("s2");
}
on (release) {
loadVariablesNum ("https://thetourtown.com/~thetourt/process.php3", 0, "POST");
}
Submit Button
I want to make a flash form with tree input text Fields which will save the input text data (name, surname , e-mail ) by pressing the submit button, to an .txt file which is stored to my hard drive. This form will to be on a website. I made it for the company which i work for. Employees will take a flash test with some questions and my boss wants to keep their name in a database. This test is made with flash.
Please find attached the movie I have made. It doesn’t work. I don’t know what function I have to use to send the data that someone writes in a input text field to an txt file.
PLS HELP>
Thanks in advance.
Email Submit
I would like to have a email submit on my flash website but have no idea where to start...can anyone help?
I'm not sure if I can use php on ntl
Thank you
Submit Forms Help
Hi all...
I've created a flash site for a client with a "Online Form" section, I can't the darn thing to work.... the site is: http://www.kosmodesign.com/af.htm (to see it what I am doing)
In the "Online Form" section , I dont know the correct code/script to submit it to user info they typed in .
Can anyone help me?
I can send you 50 bucks if you can get it to work.
Hope to hear back from someone...
Kozz
Submit Forms Help
Hi all...
I've created a flash site for a client with a "Online Form" section, I can't the darn thing to work.... the site is: http://www.kosmodesign.com/af.htm (to see it what I am doing)
In the "Online Form" section , I dont know the correct code/script to submit it to user info they typed in .
Can anyone help me?
I can send you 50 bucks if you can get it to work.
Hope to hear back from someone...
Kozz
[F8] Submit Button
I have a submit button in flash. How do I link the button to the php.
on (release) {
if the result is good go to nextFrame/gotoURL
if the result is bad error message (please re-enter)
}
This is my php file which links to mysql database:
<?php
// receive the variable from Flash
$userMail = $_POST['userMail'];
if ( !isset ($userMail) )
{
exit ('Error! The variable userMail doesn't exist');
}
// connect to the db using your credentials
mysql_connect ('username', 'password') or die("can't connect " . mysql_error());
mysql_select_db ('my_db') or die ("can't select db " . mysql_error());
// find out if the email already exists in the db
$userMail = mysql_real_escape_string ($userMail);
$query_email = "SELECT userMail FROM mytable WHERE userMail = '$userMail' LIMIT 1";
$result_email = mysql_query ($query_email) or die("can't execute query " . mysql_error());
$n = mysql_num_rows($result_email);
if ($n > 0)
{
// if the number of friends is 1 add another/increase the number
$query_friend = "UPDATE mytable SET FndInv = FndInv+1 WHERE FndInv = 1 AND userMail = '$userMail'";
$result_friend = mysql_query ($query_friend) or die("can't execute query " . mysql_error());
}
if ($n > 0)
{
echo '&message=the email is in the database&';
}
else
{
echo '&message=the email is not the database&';
}
Submit Post...help Please
ok on my website i have kind of a forum type thing and it has a onclick="post" and onclick="reset" type of thing after a text area.
well what im trying to do is make a swf in flash cs3 where it pretty much "clicks" post automaticly, like if i had the swf embedded in the same page as a onclick="post" would be it would just click it as soon as someone viseted the page
thanks
[F8] Form Submit / PHP Help Please.
I have made a form with a variety of fields, checkboxes etc. using a single layer. I also have a "Submit" button on that layer. I created a second layer for actions and have the following script for the submit button:
Code:
submit.onRelease = function() {
myForm.fromName = Name.text;
myForm.fromEmail = Email.text;
myForm.submitForm();
};
The form seems to function correctly in so far as detecting when a user has not completed required fields etc., but when I hit the submit button nothing happens. The php file I'm using is as follows:
PHP Code:
<?php
//edit this line to include the email address of the form recipient between the quotation marks
//for example: $formrecipient = "you@youremail.com";
$formrecipient = "";
$headerStyle = $_POST["headerStyle"];
$titleStyle = $_POST["titleStyle"];
$bodyStyle = $_POST["bodyStyle"];
$heading = $_POST["heading"];
$headerFont = $_POST["headerFont"];
$headerSize = $_POST["headerSize"];
$headerColor = $_POST["headerColor"];
$bodyFont = $_POST["bodyFont"];
$bodySize = $_POST["bodySize"];
$bodyColor = $_POST["bodyColor"];
$orderArray = $_POST["orderArray"];
$varArray = $_POST["varArray"];
$layout = $_POST["layout"];
$titleFont = $_POST["titleFont"];
$titleSize = $_POST["titleSize"];
$titleColor = $_POST["titleColor"];
if($formrecipient == "")
$recipientEmail = $_POST["recipientEmail"];
else
$recipientEmail = $formrecipient;
$Subject = $_POST["Subject"];
$fromName = $_POST["fromName"];
$fromEmail = $_POST["fromEmail"];
$lineSpacing = $_POST["lineSpacing"];
$spamTest = $fromName;
$spamTest = urldecode($spamTest);
if (eregi("
",$spamTest) || eregi("
",$spamTest)){
die("Attempted spam!!!");
}
$spamTest = $fromEmail;
$spamTest = urldecode($spamTest);
if (eregi("
",$spamTest) || eregi("
",$spamTest)){
die("Attempted spam!!!");
}
$spamTest = $Subject;
$spamTest = urldecode($spamTest);
if (eregi("
",$spamTest) || eregi("
",$spamTest)){
die("Attempted spam!!!");
}
$parseLinks = true;
$headerStyleOpen = "";
$headerStyleClose = "";
$titleStyleOpen = "";
$titleStyleClose = "";
$bodyStyleOpen = "";
$bodyStyleClose = "";
if($headerStyle == "bold-underline") {
$headerStyleOpen = "<b><u>";
$headerStyleClose = "</u></b>";
} else if($headerStyle == "underline") {
$headerStyleOpen = "<u>";
$headerStyleClose = "</u>";
} else if($headerStyle == "bold") {
$headerStyleOpen = "<b>";
$headerStyleClose = "</b>";
}
if($titleStyle == "bold-underline") {
$titleStyleOpen = "<b><u>";
$titleStyleClose = "</u></b>";
} else if($titleStyle == "underline") {
$titleStyleOpen = "<u>";
$titleStyleClose = "</u>";
} else if($titleStyle == "bold") {
$titleStyleOpen = "<b>";
$titleStyleClose = "</b>";
}
if($bodyStyle == "bold-underline") {
$bodyStyleOpen = "<b><u>";
$bodyStyleClose = "</u></b>";
} else if($bodyStyle == "underline") {
$bodyStyleOpen = "<u>";
$bodyStyleClose = "</u>";
} else if($bodyStyle == "bold") {
$bodyStyleOpen = "<b>";
$bodyStyleClose = "</b>";
}
function makeClickableLinks($text) {
$text = eregi_replace('(((f|ht){1}tp://)[-a-zA-Z0-9@:%_+.~#?&//=]+)', '<a href="\1">\1</a>', $text);
$text = eregi_replace('([[:space:]()[{}])(www.[-a-zA-Z0-9@:%_+.~#?&//=]+)', '\1<a href="http://\2">\2</a>', $text);
$text = eregi_replace('([_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3})','<a href="mailto:\1">\1</a>', $text);
return $text;
}
function wrapText ($String, $breakPoint) {
$newString="";
$lines=explode("
", $String);
$count=count($lines);
for($i=0;$i<$count;$i++){
if(strlen($lines[$i])>$breakPoint){
$str=$lines[$i];
while(strlen($str)>$breakPoint){
$find = 1 ;
$pos=strrpos(substr($str, 0, $breakPoint+1), " ");
if ($pos == false) {
If(1) {
$pos = $breakPoint ;
$find = 0 ;
} else {
$pos= strpos($str, " ");
if ($pos == false)
break;
}
}
$newString.="".substr($str, 0, $pos)."
";
$str=(substr($str, $pos + $find));
}
$newString.=$padStr.$str."
";
}
else{
$newString.=$padStr.$lines[$i]."
";
}
}
return substr ($newString,0, -1);
}
function array_search_r($needle, $haystack){
while (list(, $val) = each ($haystack)) {
if(is_array($val))
$match=array_search_r($needle, $val);
if($value==$needle)
$match=1;
if($match)
return 1;
}
return 0;
}
if($heading != null && $heading != "") {
$message = "<html><body><font face="".$headerFont."" size="".$headerSize."" color="".$headerColor."">";
$message .= $headerStyleOpen.$heading.$headerStyleClose."</font><br><font face="".$bodyFont."" size="".$bodySize."" color="".$bodyColor."">";
} else {
$message = "<html><body><font face="".$bodyFont."" size="".$bodySize."" color="".$bodyColor."">";
}
$arrOrder = explode(",",$orderArray);
$finalArray = array();
$fullFields = explode("~|~",$varArray);
while (list(, $val) = each ($fullFields)) {
$divideFields = explode("*|*",$val);
if($divideFields[1] != "undefined") {
if($parseLinks) {
$fieldValue = makeClickableLinks(stripslashes($divideFields[1]));
} else {
$fieldValue = stripslashes($divideFields[1]);
}
$finalArray[] = array($divideFields[0],$fieldValue);
}
}
for ($i = 0; $i < count($finalArray); $i++) {
if(is_string($finalArray[$i][0])) {
$place = array_search_r ($finalArray[$i][0], $arrOrder);
if(!$place) {
if($finalArray[$i][0] == $arrOrder[0]) {
$arrOrder[0] = $finalArray[$i];
} else {
$arrOrder[] = $finalArray[$i];
}
} else {
$arrOrder[$place] = $finalArray[$i];
}
}
}
//////////////////
for ($a = 0; $a < count($arrOrder); $a++) {
if( !is_array( $arrOrder[$a] ) ){
$finalArray = array();
$finalArray[0] = $arrOrder[$a];
$finalArray[1] = " ";
$arrOrder[$a] = $finalArray;
}
}
//////////////////
for ($i = 0; $i < count($arrOrder); $i++) {
for($b = 0; $b < $lineSpacing; $b++) {
$message .= "<br>";
}
$varValue = $arrOrder[$i][1];
$varValue = str_replace("
", "<br>", $varValue);
if($layout == "style2") {
$message .= "<font face="".$titleFont."" size="".$titleSize."" color="".$titleColor."">".$titleStyleOpen.$arrOrder[$i][0].":".$titleStyleClose."</font><br>".$bodyStyleOpen.$varValue.$bodyStyleClose."<br>";
}
else if($layout == "style3") {
$message .= "<font face="".$titleFont.""size="".$titleSize.""color="".$titleColor."">".$titleStyleOpen.$arrOrder[$i][0].":".$titleStyleClose."</font><br><br>".$bodyStyleOpen.$varValue.$bodyStyleClose."<br>";
}
else {
$message .= "<font face="".$titleFont."" size="".$titleSize."" color="".$titleColor."">".$titleStyleOpen.$arrOrder[$i][0].":".$titleStyleClose."</font> ".$bodyStyleOpen.$varValue.$bodyStyleClose;
}
}
$message .= "</font></body></html>";
$message = wrapText($message, 72);
$headers = "From: ".$fromName." <".$fromEmail.">
";
$headers .= "Reply-To: ".$fromName." <".$fromEmail.">
";
$headers .= "Return-Path: ".$fromName." <".$fromEmail.">
";
$success = mail($recipientEmail, $Subject, $message, $headers."MIME-Version: 1.0
"."Content-type: text/html; charset=iso-8859-1");
if($success) {
$emailsent = "sent";
} else {
$emailsent = "notsent";
}
print "&submittedVar=".$emailsent;
?>
This file came with EZForm Pro, a Flash 8 plug-in I purchased. My understanding is that all variables are supposed to be filled in prior to sending an email.
If I call the php file directly by browsing to it, I get the error message "notsent". I also have another php test script I have run from the same directory and it runs okay, so I am confident the Server side is setup correctly.
I think I'm not scripting the button correctly and it's not calling the php file, which is "formhtml.php3". Can someone please take a look at what I've done here and help out? This is driving me nuts.
Thanks
Submit Button
I have made a web site and all functions well but...since I'm new at scripting well, can anybody walk me thru as to what I need to do to make a "submit" button send email to my email account. I am doing this in Flash 8 Pro. Is there a simple script or do I need to make any attachments?
thanks
|