472,338 Members | 1,614 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,338 software developers and data experts.

Flash MX radio button vars passed to a PHP form.. Stumped

8
Please help!

Does anyone know how to set up radio buttons to send their info from flash to a PHP script that will email me the results? I have been trying to get this thing to work for weeks, and I still can not get it to work right.

Right now, I have a survey that looks like this, and it sends the input text just fine, but when I get the email, all the radio button info is not there.

I can provide files or code if it helps. I really just need a working sample .fla and PHP code of more than one radio button and maybe 2 imput text boxes that the vars are sent to the form.php and emailed to me.

Thanks in advance!
Nov 30 '06 #1
8 10918
you still need this script
Feb 7 '07 #2
you still need this script
I need the script if you have it PLEASE.
Feb 27 '07 #3
SJL
1
I'm having the same problem. Did you ever find the answer??
Mar 13 '07 #4
iam_clint
1,208 Expert 1GB
Let me see your php code... thats more than likely where you are erroring out.
Mar 13 '07 #5
I am postitive that my php is wrong, i also dont have any actionscript on my buttons either, i have them labled by group name but that is the only indicator.
Mar 13 '07 #6
Let me see your php code... thats more than likely where you are erroring out.

The site is andrewandtessa.com to see the form click on the rsvp section.

Here is my php.

<?php

$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" .

$_POST["email"] .">\r\n";

$headers .= "Reply-To: " . $_POST["email"] . "\r\n";

$headers .= "Return-path: ". $_POST["firstName"] . $_POST["email"];

$message = $_POST["message"] . $_POST["RSVP"];

?>

And on my flash they are all input text fields with variables, but i have no clue what to do with the radio buttons they are labled by group name RSVP but that is it.

Please Help.

Thanks
Mar 14 '07 #7
iam_clint
1,208 Expert 1GB
request the groupname $_POST




it should return the value.



if it doesn't you have to loop through it and check for if its checked.
Mar 14 '07 #8
What should that look like though? Cause i have it requested after the message one and it isnt working should it be its on line? and where should it go? should it be this:

<?php

$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" .

$_POST["email"] .">\r\n";

$headers .= "Reply-To: " . $_POST["email"] . "\r\n";

$headers .= "Return-path: ". $_POST["firstName"] . $_POST["email"];

$message .= $_POST["message"];

$message .= $_POST["RSVP"];

?>

or this?

<?php

$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" .

$_POST["email"] .">\r\n";

$headers .= "Reply-To: " . $_POST["email"] . "\r\n";

$headers .= "Return-path: ". $_POST["firstName"] . $_POST["email"];

$headers .= $_POST["RSVP"];

$message .= $_POST["message"];

?>
Mar 14 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Suzanne | last post by:
Hi, I have a form which our clients can fill in with their personal details. As part of the information we store there is a section - areas of...
2
by: jason | last post by:
The following (likely far from imperfect code), reports a value of NaN in the j4 display. I suppose the problem is I am not really passing the...
4
by: Oscar Monteiro | last post by:
I Have to sets of Radio buttons like so: <input type="radio" name=p1 value=1> <input type="radio" name=p1 value=2> <input type="radio" name=p1...
2
by: Stoic | last post by:
I'm offering a selection of three items. One is $25, the second is $50, the third is $100. Along with selection one of the items I need to pass the...
6
by: J Mox | last post by:
I have a function that changes which radio button is selected. I need to pass the form name to the function but not the field name and am doing so...
8
by: David Cameron | last post by:
I noticed that using an HTMLInputRadioButton and specifying a value to be an empty string (""), this is overridden by ASP.Net which set the value...
5
by: Fran Jakers | last post by:
Hello all, I'm new to all this and I could really use some help. I've searched the web but cannot find an answer. I have an HTML form with...
10
by: mukeshrasm | last post by:
Hi I have a html in which there is two selection box and two radio button. Radio buttion is of array type. What I want if user will click the...
4
by: Bernie | last post by:
Hello all, I am new to the group and new to javascripting, so I am hoping to find some good help here. Here is a snippet of my code: HTML:...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.