[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Variables from flash to php.

Posted on 2006-11-23
1
Medium Priority
?
207 Views
Last Modified: 2010-04-03
I want to send variables out of a flash file and use them in a php page.

The actionscript currently stands as.....

varsToSend = new LoadVars();
      varsToSend.table_name = "tblPilot";
      varsToSend.Response="it_" + item + ":res_" + resp + ":rt_" + rt + ":sq_" + seq;
      varsToSend.confirmation_page = "http://test-extranet.edfac.unimelb.edu.au/arc_test_dev/Problem%20Solving%20Items/index.php";
      varsToSend.send("ItemProc.php","_self","POST");



and the PHP is

echo $_POST['Item_0026_Response'];


it does not print the variable as expected. Can anyone tell me why?
0
Comment
Question by:ARC_UM
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
FLAASHER earned 1000 total points
ID: 18006137
here is ur problem :


in PHP try to print this :




<?
echo $_POST['confirmation_page'];
?>


it will work fine :)



this becuse $_POST['Item_0026_Response'] come  from flash as vriable BUT $_POST['Item_0026_Response'] have undefinded vribales in flash like seq, resp, item and rt



dfine this vriables frist and try again



FLAASHER
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question