Solved

Variables from flash to php.

Posted on 2006-11-23
1
197 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 250 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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
IE 11 Flash Player issue 7 261
blocked plugin flash 5 126
What process can I use to achieve this? 5 130
Adobe Products Forum? 3 172
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

738 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